From: "peterzhu2118 (Peter Zhu)" Date: 2021-12-07T19:14:16+00:00 Subject: [ruby-core:106540] [Ruby master Bug#18394] Backports for read barrier for GC compaction for Ruby 3.0 Issue #18394 has been reported by peterzhu2118 (Peter Zhu). ---------------------------------------- Bug #18394: Backports for read barrier for GC compaction for Ruby 3.0 https://bugs.ruby-lang.org/issues/18394 * Author: peterzhu2118 (Peter Zhu) * Status: Closed * Priority: Normal * Backport: 2.6: DONTNEED, 2.7: DONTNEED, 3.0: REQUIRED ---------------------------------------- Please backport commits [0130e17a410d60a10e7041ce98748b8de6946971](https://github.com/ruby/ruby/commit/0130e17a410d60a10e7041ce98748b8de6946971) and [32b7dcfb56a417c1d1c354102351fc1825d653bf](https://github.com/ruby/ruby/commit/32b7dcfb56a417c1d1c354102351fc1825d653bf) to Ruby 3.0. The read barrier is required for both manual and automatic compaction. Not setting up the read barrier can cause crashes such as #18133. -- https://bugs.ruby-lang.org/ Unsubscribe: