[DOC] Tweaks for What's Here
Fix remove_instance_variable on complex objects
remove_instance_variable
Introduced in: https://github.com/ruby/ruby/pull/13159
Now that there is no longer a unique TOO_COMPLEX shape with no children, checking shape->type == TOO_COMPLEX is incorrect.
shape->type == TOO_COMPLEX
Raise error on take/send for Ractors in child processes
Ractor objects that are available in a child process should raise a Ractor::ClosedError exception when called with send or take
Ractor::ClosedError
send
take
Co-authored-by: John Hawthorn john@hawthorn.email
Clean up Ractor cache after fork
Ractors created in a parent process should be properly shut down in the child process. They need their cache cleared and status set to "terminated"
Acquire VM lock around fork
Otherwise it might be held by another Ractor, causing a deadlock in the new process.
Fix -Wreturn-type
../variable.c: In function ‘iterate_over_shapes_with_callback’: ../variable.c:2189:1: warning: control reaches end of non-void function [-Wreturn-type] 2189 | } | ^
Remove dependency on debug_counter.h when BUILDING_MODULAR_GC
This allows the default GC to not need debug_counter.h when building as a modular GC.
Stop checking for USE_DEBUG_COUNTER in default.c
We don't need to check for USE_DEBUG_COUNTER because the code is no-op if USE_DEBUG_COUNTER is not enabled.
[DOC] Tweaks for String#-@
ZJIT: Temporarily revert path compression
For reasons I don't understand yet, this causes an issue when trying to boot yjit-bench. Temporarily revert it.
View all revisions | View revisions
Also available in: Atom