[ruby-cvs:51205] tmm1:r44060 (trunk): hash.c: fix WB miss issue in Hash#replace

tmm1 at ruby-lang.org tmm1 at ruby-lang.org
Sun Dec 8 12:03:44 JST 2013


tmm1	2013-12-08 12:03:42 +0900 (Sun, 08 Dec 2013)

  New Revision: 44060

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44060

  Log:
    hash.c: fix WB miss issue in Hash#replace
    
    * hash.c (rb_hash_replace): add a write barrier to fix GC mark miss on
      hashes using Hash#replace [Bug #9226] [ruby-core:58948]

  Modified files:
    trunk/ChangeLog
    trunk/hash.c


More information about the ruby-cvs mailing list