[ruby-cvs:52699] ko1:r45553 (trunk): * array.c (rb_ary_modify): remember shared array owner if a shared

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Apr 10 19:16:25 JST 2014


ko1	2014-04-10 19:16:24 +0900 (Thu, 10 Apr 2014)

  New Revision: 45553

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

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/array.c
    trunk/test/ruby/test_array.rb


More information about the ruby-cvs mailing list