summaryrefslogtreecommitdiff
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
authorNAKAMURA Usaku <usa@ruby-lang.org>2021-12-31 19:48:17 +0900
committerNAKAMURA Usaku <usa@ruby-lang.org>2021-12-31 19:48:17 +0900
commit7d3cff6e41d73a00f3d0fdb337743f654e42f1a8 (patch)
treedd8221f8ee5c007cab207fe2385cb5c80ee4bb18 /test/ruby/test_io.rb
parentb829811131ec7741ce701ff8a8b101604fb0d595 (diff)
merge revision(s) a2d4e1cda68a49980a4f9f353f400efbde7e7884,d6c5a30cfdf658280338dbb8c8b17fab3190b928: [Backport #18392]
Fixed the check order in wmap_live_p [Bug #18392] Check if the object is a pointer to heap before check the flag in that object. --- gc.c | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) ObjectSpace::WeakMap#inspect: check if living object [Bug #18392] --- gc.c | 29 +++++++++++++++++++++++------ test/ruby/test_weakmap.rb | 9 +++++++++ 2 files changed, 32 insertions(+), 6 deletions(-)
Diffstat (limited to 'test/ruby/test_io.rb')
0 files changed, 0 insertions, 0 deletions