[ruby-cvs:53565] ko1:r46419 (trunk): * vm_trace.c: clear and restore recursive checking thread local data

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Jun 13 17:50:12 JST 2014


ko1	2014-06-13 17:50:11 +0900 (Fri, 13 Jun 2014)

  New Revision: 46419

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

  Log:
    * vm_trace.c: clear and restore recursive checking thread local data
      to avoid unexpected throw from TracePoint.
      [Bug #9940]
    * test/ruby/test_settracefunc.rb: add a test.
    * thread.c: adde
      * rb_threadptr_reset_recursive_data(rb_thread_t *th);
      * rb_threadptr_restore_recursive_data(rb_thread_t *th, VALUE old);
    * vm_core.h: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_settracefunc.rb
    trunk/thread.c
    trunk/vm_core.h
    trunk/vm_trace.c


More information about the ruby-cvs mailing list