diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-13 11:17:04 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-13 11:17:04 +0000 |
commit | a05d713879613d9947e255e4b6207109d3f0a368 (patch) | |
tree | 9070ff4d4b1189ab72913339f0f63f24f2c030fc | |
parent | 2cd45df9280ced17ac0049a4ce112b53629ff538 (diff) | |
download | ruby-a05d713879613d9947e255e4b6207109d3f0a368.tar.gz |
mark thread name string
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | vm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2126,6 +2126,8 @@ rb_thread_mark(void *ptr) sizeof(th->machine.regs) / sizeof(VALUE)); } + RUBY_MARK_UNLESS_NULL(th->name); + rb_vm_trace_mark_event_hooks(&th->event_hooks); } |