Remove accidentally committed method Module.gccct_clear_table
This was probably meant to be only for debugging. It was introduced in the big namespace on read commit: 382645d440d
ZJIT: Print a message about ZJIT_RB_BUG when unused (#13852)
Fix rb_eSystemExit raised in Ractor
[Bug #21505]
Previously Ractor.new { exit }.join would hang because SystemExit was special cased.
Ractor.new { exit }.join
This commit updates this to take the same path as other exceptions, which wraps the exception in a Ractor::RemoteError and does not end up...
ZJIT: Mark Snapshot as having an output
Other instructions use it as an operand and #13814 especially needs it to have an output for validation.
ZJIT: Validate that each IR instruction appears at most once
ZJIT: Implement patch points on BOP redefinition (#13850)
Co-authored-by: Max Bernstein [email protected]
ZJIT: Add def-use validator via dataflow analysis (#13814)
This PR adds a validator based on dataflow analysis to ZJIT. It checks that all uses are dominated by a GEN-DEF prior.
See issue https://github.com/Shopify/ruby/issues/591
This is especially useful in validating optimizations don't zap away instructions that are actually needed, e.g. DCE....
ZJIT: Avoid optimizing locals on eval (#13840)
ZJIT: Avoid optimizing locals on eval
Maintain the local state for eval
Fix unused variable warnings in default.c in modular GC
The asan and valgrind macros when BUILDING_MODULAR_GC don't use the variables which could the compiler to emit unused variable warnings.
Make rb_enc_autoload_p atomic
rb_enc_autoload_p
Using encoding->max_enc_len as a way to check if the encoding has been loaded isn't atomic, because it's not atomically set last.
encoding->max_enc_len
Intead we can use a dedicated atomic value inside the encoding table.
View all revisions | View revisions
Also available in: Atom