[ruby-cvs:71747] nobu:r64655 (trunk): object_tracing.c: register TracePoint objects

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Sep 7 17:28:57 JST 2018


nobu	2018-09-07 17:28:57 +0900 (Fri, 07 Sep 2018)

  New Revision: 64655

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64655

  Log:
    object_tracing.c: register TracePoint objects
    
    * ext/objspace/object_tracing.c (trace_object_allocations_start): to
      prevent TracePoint objects from GC, register them in the VM, since
      they are unique per VM.
      http://ci.rvm.jp/results/trunk-test@ruby-sky3/1291901
    
    * ext/objspace/object_tracing.c (trace_object_allocations_stop): reuse
      TracePoint objects.

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


More information about the ruby-cvs mailing list