summaryrefslogtreecommitdiff
path: root/include/ruby/internal/encoding
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-01-29 13:56:56 -0500
committerPeter Zhu <peter@peterzhu.ca>2025-01-30 10:10:48 -0500
commita084fef9afc7713aa4f4111f7e826c7ca1a607c7 (patch)
tree6a47116d2a23864cac6a452230e17036edfee2ff /include/ruby/internal/encoding
parent4cfc904d9706512732d06c17238be9eaff7e4ca9 (diff)
[Bug #21099] Fix GC when Ractor list not initialized
When the Ractor list is not initialized and a GC is ran at boot, then it would crash because the newobj_cache of the main Ractor is not cleared. This commit changes it to use ruby_single_main_ractor when it's available and iterate over the Ractor list when we have multiple Ractors.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12667
Diffstat (limited to 'include/ruby/internal/encoding')
0 files changed, 0 insertions, 0 deletions