diff options
| author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-05-15 16:07:12 +1200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-15 16:07:12 +1200 |
| commit | 32de6097b2b5d8394b3a1399e13d309444697954 (patch) | |
| tree | bfcad8e159c733e0ed6ae0b6e72743cd2eb0e3c7 /spec/ruby/core/array/replace_spec.rb | |
| parent | 48002ff1877e2fedb5d3893eec4ea633b87ea22f (diff) | |
Fix various autoload race conditions. (#5898)
* Add RUBY_VM_CRITICAL_SECTION for detecting unexpected context switch.
* Prevent race between GC mark and autoload setup.
* Protect race on autoload state.
* Avoid potential race condition when allocating `autoload_featuremap`.
* Add NEWS entry for autoload fixes.
Notes
Notes:
Merged-By: ioquatix <samuel@codeotaku.com>
Diffstat (limited to 'spec/ruby/core/array/replace_spec.rb')
0 files changed, 0 insertions, 0 deletions
