[ruby-cvs:65521] ko1:r58349 (trunk): disable rewind hooks.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Apr 14 16:46:11 JST 2017


ko1	2017-04-14 16:46:11 +0900 (Fri, 14 Apr 2017)

  New Revision: 58349

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

  Log:
    disable rewind hooks.
    
    * vm.c (hook_before_rewind): skip rewind hooks if err is SystemStackError
      because rewind hooks can cause stack overflow again and again.
    
    * thread.c (ruby_thread_stack_overflow): do not disable all hooks.
      Additionally, clearing ruby_vm_event_flags is not suitable way
      to disable hooks.

  Modified files:
    trunk/thread.c
    trunk/vm.c


More information about the ruby-cvs mailing list