[ruby-cvs:51233] nobu:r44088 (trunk): object_tracing.c: fix allocation from NEWOBJ hook

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Dec 9 12:26:08 JST 2013


nobu	2013-12-09 12:26:07 +0900 (Mon, 09 Dec 2013)

  New Revision: 44088

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

  Log:
    object_tracing.c: fix allocation from NEWOBJ hook
    
    * ext/objspace/object_tracing.c (newobj_i): use cached class path
      only to get rid object allocation during NEWOBJ hook.
      [ruby-core:58853] [Bug #9212]

  Modified files:
    trunk/ChangeLog
    trunk/ext/objspace/object_tracing.c


More information about the ruby-cvs mailing list