Index: runtime/vm/thread.cc |
diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc |
index 26357bb4f1d75f0ddc7efba5e06128e544463e02..5dccb4c7f6e83309abd167bcfa312b9d9f488ddf 100644 |
--- a/runtime/vm/thread.cc |
+++ b/runtime/vm/thread.cc |
@@ -214,6 +214,7 @@ void Thread::EnsureInit() { |
Thread::Thread(bool init_vm_constants) |
: id_(OSThread::GetCurrentThreadId()), |
join_id_(OSThread::GetCurrentThreadJoinId()), |
+ trace_id_(OSThread::GetCurrentThreadTraceId()), |
thread_interrupt_disabled_(1), // Thread interrupts disabled by default. |
isolate_(NULL), |
heap_(NULL), |
@@ -228,7 +229,8 @@ Thread::Thread(bool init_vm_constants) |
vm_tag_(0), |
pending_functions_(GrowableObjectArray::null()), |
no_callback_scope_depth_(0), |
- thread_list_next_(NULL) { |
+ thread_list_next_(NULL), |
+ name_(NULL) { |
ClearState(); |
#define DEFAULT_INIT(type_name, member_name, init_expr, default_init_value) \ |