[ruby-cvs:49676] ko1:r42534 (trunk): * class.c (rb_prepend_module): make T_ICLASS object shady because

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon Aug 12 15:19:16 JST 2013


ko1	2013-08-12 15:19:15 +0900 (Mon, 12 Aug 2013)

  New Revision: 42534

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

  Log:
    * class.c (rb_prepend_module): make T_ICLASS object shady because
      this T_ICLASS object seems to share method table with other class
      objects. It was causes WB miss.
      TODO: need to know the data structure.
    * test/ruby/test_module.rb: add a test for WB miss.

  Modified files:
    trunk/ChangeLog
    trunk/class.c
    trunk/test/ruby/test_module.rb


More information about the ruby-cvs mailing list