diff options
| author | NARUSE, Yui <naruse@airemix.jp> | 2021-03-02 22:00:45 +0900 |
|---|---|---|
| committer | NARUSE, Yui <naruse@airemix.jp> | 2021-03-02 22:00:45 +0900 |
| commit | b49264ab7aa92f64a806857d7e81b3f1cbba5585 (patch) | |
| tree | ae23168bfe59e5e1f5e706ef3503386895b82db7 /spec/ruby/core | |
| parent | 4328f93f1bf08296115172a279e2d85a0ed80122 (diff) | |
merge revision(s) 969b824a0c7605e0e570631d967ad0de0c37d0bf,100e464bee46ae71ef048ed85a9bdd012935a3f7: [Backport #17599]
sync GC rest if needed
marking requires a barrier (stop all Ractors) and gc_enter() does it.
However, it doesn't check rest event which can start marking.
[Bug #17599]
---
gc.c | 3 +++
1 file changed, 3 insertions(+)
clear RVALUE on NEWOBJ event.
NEWOBJ event is called without clearing RVALUE values (v1, v2, v3).
This patch clear them before NEWOBJ tracepoint internal hook.
[Bug #17599]
---
gc.c | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
