1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/lib
ko1 23e452b17b cleanup hook cleanup code.
* vm_trace.c: before this patch, deleted hooks are remvoed at
  *the beggining* of hooks (exec_hooks_precheck).
  This patch cleanup deleted hooks at
  (1) just after hook is deleted (TracePoint#disable and so on)
  (2) just after executing hooks (exec_hooks_postcheck)
  Most of time (1) is enough, but if some threads running hooks,
  we need to wait cleaning up deleted hooks until threads finish
  running the hooks. This is why (2) is introduced (and this is
  why current impl cleanup deleted hooks at the beggining of hooks).

* test/lib/tracepointchecker.rb: check also the number of delete
  waiting hooks.

* cont.c (cont_restore_thread): fix VM->trace_running count.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-16 02:47:58 +00:00
..
-test- -test-/integer 2016-05-22 07:27:02 +00:00
minitest Specify frozen_string_literal: true. 2017-06-20 11:10:37 +00:00
test assertions.rb: fix return in assert_raise 2017-11-02 12:29:33 +00:00
envutil.rb envutil.rb: preserve RUBYLIB 2017-11-13 01:58:18 +00:00
find_executable.rb Specify frozen_string_literal: true. 2017-06-20 11:10:37 +00:00
iseq_loader_checker.rb Specify frozen_string_literal: true. 2017-06-20 11:10:37 +00:00
leakchecker.rb Fixed missing handling for frozen object at r59121. 2017-06-20 11:43:05 +00:00
memory_status.rb Specify frozen_string_literal: true. 2017-06-20 11:10:37 +00:00
profile_test_all.rb Specify frozen_string_literal: true. 2017-06-20 11:10:37 +00:00
tracepointchecker.rb cleanup hook cleanup code. 2017-11-16 02:47:58 +00:00
with_different_ofs.rb Specify frozen_string_literal: true. 2017-06-20 11:10:37 +00:00
zombie_hunter.rb Specify frozen_string_literal: true. 2017-06-20 11:10:37 +00:00