summaryrefslogtreecommitdiff
path: root/test/ruby/test_parse.rb
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2023-09-30 13:46:29 +0900
committernagachika <nagachika@ruby-lang.org>2023-09-30 13:46:29 +0900
commit97b7070ebd5493de8d3a6a9b0ecc91bef5068d3f (patch)
treea6fa7e558dda05efec25cc022d06dc6ac5cdaf21 /test/ruby/test_parse.rb
parent5640baa2f82f528a092d92ceaabeb76c43c098ee (diff)
merge revision(s) 8b236e0c66da8f92e9fc33de66cfbc8e4b0c0763: [Backport #19896]
[Bug #19896] fix memory leak in vm_method This introduces a unified reference_count to clarify who is referencing a method. This also allows us to treat the refinement method as the def owner since it counts itself as a reference Co-authored-by: Peter Zhu <peter@peterzhu.ca> --- gc.c | 4 +- method.h | 6 +-- rjit_c.rb | 6 +-- test/ruby/test_module.rb | 4 +- vm_insnhelper.c | 2 +- vm_method.c | 105 +++++++++++++++++++---------------------------- 6 files changed, 54 insertions(+), 73 deletions(-)
Diffstat (limited to 'test/ruby/test_parse.rb')
0 files changed, 0 insertions, 0 deletions