[DOC] Tweaks for GC.latest_gc_info
[DOC] Tweaks for GC.enable
[DOC] Tweaks for GC.disable
ZJIT: Avoid compiling failed ISEQs repeatedly (#14195)
RTypedData: keep direct reference to IMEMO/fields
Similar to f3206cc79bec2fd852e81ec56de59f0a67ab32b7 but for TypedData.
It's quite common for TypedData objects to have a mix of reference in their struct and some ivars. Since we do happen to have 8B free in the RtypedData struct, we could...
set.c: Store set_table->bins at the end of set_table->entries
set_table->bins
set_table->entries
This saves one pointer in struct set_table, which would allow Set objects to still fit in 80B TypedData slots even if RTypedData goes from 32B to 40B large.
struct set_table
Set
The existing set benchmark seem to show this doesn't have a very...
[ruby/openssl] pkey: skip tests using invalid keys in the FIPS mode
In OpenSSL's master branch, importing/loading a key in the FIPS mode automatically performs a pair-wise consistency check. This breaks tests for OpenSSL::PKey::EC#check_key and DH#params_ok? as they use...
Replace stdatomic ops with explicit mem order
My previous pass missed these atomic operations using operators.
Implement rbimpl_atomic_value_load
This only adds the rbimpl_ version to include/ruby/atomic.h so that it is not a new public interface.
We were already using RUBY_ATOMIC_VALUE_LOAD in a few locations. This will allow us to use other memory orders internally when desired.
Convert ATOMIC_LOAD_RELAXED to use new rbimpl_*
View all revisions | View revisions
Also available in: Atom