ruby-changes:38788
From: naruse <ko1@a...>
Date: Sat, 13 Jun 2015 20:17:17 +0900 (JST)
Subject: [ruby-changes:38788] naruse:r50869 (trunk): mark thread name string
naruse 2015-06-13 20:17:04 +0900 (Sat, 13 Jun 2015) New Revision: 50869 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50869 Log: mark thread name string Modified files: trunk/vm.c Index: vm.c =================================================================== --- vm.c (revision 50868) +++ vm.c (revision 50869) @@ -2126,6 +2126,8 @@ rb_thread_mark(void *ptr) https://github.com/ruby/ruby/blob/trunk/vm.c#L2126 sizeof(th->machine.regs) / sizeof(VALUE)); } + RUBY_MARK_UNLESS_NULL(th->name); + rb_vm_trace_mark_event_hooks(&th->event_hooks); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/