[ruby-cvs:53152] nagachika:r46006 (ruby_2_1): merge revision(s) r45553, r45554, r45557, r45558, r45561, r45566, r45567: [Backport #9718]
nagachika at ruby-lang.org
nagachika at ruby-lang.org
Mon May 19 00:54:40 JST 2014
nagachika 2014-05-19 00:54:39 +0900 (Mon, 19 May 2014)
New Revision: 46006
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=46006
Log:
merge revision(s) r45553,r45554,r45557,r45558,r45561,r45566,r45567: [Backport #9718]
* array.c (rb_ary_modify): remember shared array owner if a shared
array owner is promoted and a shared array is not promoted.
Now, shared array is WB-unprotected so that shared arrays are not
promoted. All objects referred from shared array should be marked
correctly.
[ruby-core:61919] [ruby-trunk - Bug #9718]
* test/ruby/test_array.rb: add a test for above.
* test/ruby/test_array.rb: remove useless `assert'.
Modified directories:
branches/ruby_2_1/
Modified files:
branches/ruby_2_1/ChangeLog
branches/ruby_2_1/array.c
branches/ruby_2_1/test/ruby/envutil.rb
branches/ruby_2_1/test/ruby/test_array.rb
branches/ruby_2_1/version.h
More information about the ruby-cvs
mailing list