[ruby-cvs:61216] nobu:r54055 (trunk): hash.c: make duplicated hash WB protected
nobu at ruby-lang.org
nobu at ruby-lang.org
Wed Mar 9 16:17:01 JST 2016
nobu 2016-03-09 16:17:01 +0900 (Wed, 09 Mar 2016)
New Revision: 54055
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54055
Log:
hash.c: make duplicated hash WB protected
* hash.c (hash_alloc_flags): allocate new hash with the flags and
the default value.
* hash.c (hash_dup): duplicate with the flags and the default
value.
* hash.c (rb_hash_dup): make the duplicated hash write-barrier
protected.
Modified files:
trunk/hash.c
More information about the ruby-cvs
mailing list