[ruby-cvs:70237] tenderlove:r63147 (trunk): Add write barrier calls for direct marking objects.

tenderlove at ruby-lang.org tenderlove at ruby-lang.org
Sat Apr 14 06:36:52 JST 2018


tenderlove	2018-04-14 06:36:51 +0900 (Sat, 14 Apr 2018)

  New Revision: 63147

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63147

  Log:
    Add write barrier calls for direct marking objects.
    
    This commit adds write barriers for objects marked from `rb_iseq_mark`.
    r62851 introduced direct marking from iseqs to:
    
    * keyword arg default values
    * catch table iseqs
    * VALUEs embedded in encoded instructions
    
    This patch adds missing write barrier calls to those references.

  Modified files:
    trunk/compile.c
    trunk/iseq.c


More information about the ruby-cvs mailing list