Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 01f457b93a53c5a1456e3a355ae5a354684269d7..7423274a1e9a40178670911f09fc992cd604195e 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1731,11 +1731,11 @@ bool Isolate::Init(Deserializer* des) { |
return false; |
} |
+ InitializeThreadLocal(); |
+ |
bootstrapper_->Initialize(create_heap_objects); |
builtins_.Setup(create_heap_objects); |
- InitializeThreadLocal(); |
- |
// Only preallocate on the first initialization. |
if (FLAG_preallocate_message_memory && preallocated_message_space_ == NULL) { |
// Start the thread which will set aside some memory. |