Skip to content
  • nagachika's avatar
    a2fe4b75
    merge revision(s) 217df51f: [Backport #18232] · a2fe4b75
    nagachika authored
    	Dump outer variables tables when dumping an iseq to binary
    
    	This commit dumps the outer variables table when dumping an iseq to
    	binary.  This fixes a case where Ractors aren't able to tell what outer
    	variables belong to a lambda after the lambda is loaded via ISeq.load_from_binary
    
    	[Bug #18232] [ruby-core:105504]
    	---
    	 compile.c              | 55 +++++++++++++++++++++++++++++++++++++++++++++++++-
    	 test/ruby/test_iseq.rb | 10 +++++++++
    	 2 files changed, 64 insertions(+), 1 deletion(-)
    a2fe4b75
    merge revision(s) 217df51f: [Backport #18232]
    nagachika authored
    	Dump outer variables tables when dumping an iseq to binary
    
    	This commit dumps the outer variables table when dumping an iseq to
    	binary.  This fixes a case where Ractors aren't able to tell what outer
    	variables belong to a lambda after the lambda is loaded via ISeq.load_from_binary
    
    	[Bug #18232] [ruby-core:105504]
    	---
    	 compile.c              | 55 +++++++++++++++++++++++++++++++++++++++++++++++++-
    	 test/ruby/test_iseq.rb | 10 +++++++++
    	 2 files changed, 64 insertions(+), 1 deletion(-)
Loading