Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 07bb2ae5300f192e65f973482a0684429f48501c..4750a2cb39d2702ec620195373d731ff0b0c8f26 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1770,7 +1770,6 @@ Isolate::Isolate() |
write_iterator_(NULL), |
global_handles_(NULL), |
eternal_handles_(NULL), |
- context_switcher_(NULL), |
thread_manager_(NULL), |
fp_stubs_generated_(false), |
has_installed_extensions_(false), |
@@ -1907,10 +1906,6 @@ void Isolate::Deinit() { |
delete deoptimizer_data_; |
deoptimizer_data_ = NULL; |
- if (FLAG_preemption) { |
- v8::Locker locker(reinterpret_cast<v8::Isolate*>(this)); |
- v8::Locker::StopPreemption(reinterpret_cast<v8::Isolate*>(this)); |
- } |
builtins_.TearDown(); |
bootstrapper_->TearDown(); |
@@ -2027,8 +2022,6 @@ Isolate::~Isolate() { |
delete write_iterator_; |
write_iterator_ = NULL; |
- delete context_switcher_; |
- context_switcher_ = NULL; |
delete thread_manager_; |
thread_manager_ = NULL; |
@@ -2251,11 +2244,6 @@ bool Isolate::Init(Deserializer* des) { |
PreallocatedStorageInit(preallocated_memory_thread_->length() / 4); |
} |
- if (FLAG_preemption) { |
- v8::Locker locker(reinterpret_cast<v8::Isolate*>(this)); |
- v8::Locker::StartPreemption(reinterpret_cast<v8::Isolate*>(this), 100); |
- } |
- |
#ifdef ENABLE_DEBUGGER_SUPPORT |
debug_->SetUp(create_heap_objects); |
#endif |