Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index de67a1c1f2343b298a95ad59ea2352ed152b8a22..59b474dffc230835a3f2ea01d706efef3fd2e813 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -42,7 +42,6 @@ |
#include "isolate-inl.h" |
#include "lithium-allocator.h" |
#include "log.h" |
-#include "marking-thread.h" |
#include "messages.h" |
#include "platform.h" |
#include "regexp-stack.h" |
@@ -147,8 +146,6 @@ int SystemThreadManager::NumberOfParallelSystemThreads( |
return number_of_threads; |
} else if (type == CONCURRENT_SWEEPING) { |
return number_of_threads - 1; |
- } else if (type == PARALLEL_MARKING) { |
- return number_of_threads; |
} |
return 1; |
} |
@@ -1800,7 +1797,6 @@ Isolate::Isolate() |
function_entry_hook_(NULL), |
deferred_handles_head_(NULL), |
optimizing_compiler_thread_(NULL), |
- marking_thread_(NULL), |
sweeper_thread_(NULL), |
stress_deopt_count_(0) { |
id_ = NoBarrier_AtomicIncrement(&isolate_counter_, 1); |
@@ -1907,14 +1903,6 @@ void Isolate::Deinit() { |
delete[] sweeper_thread_; |
} |
- if (FLAG_marking_threads > 0) { |
- for (int i = 0; i < FLAG_marking_threads; i++) { |
- marking_thread_[i]->Stop(); |
- delete marking_thread_[i]; |
- } |
- delete[] marking_thread_; |
- } |
- |
if (FLAG_hydrogen_stats) GetHStatistics()->Print(); |
if (FLAG_print_deopt_stress) { |
@@ -2348,14 +2336,6 @@ bool Isolate::Init(Deserializer* des) { |
FastNewClosureStub::InstallDescriptors(this); |
} |
- if (FLAG_marking_threads > 0) { |
- marking_thread_ = new MarkingThread*[FLAG_marking_threads]; |
- for (int i = 0; i < FLAG_marking_threads; i++) { |
- marking_thread_[i] = new MarkingThread(this); |
- marking_thread_[i]->Start(); |
- } |
- } |
- |
if (FLAG_sweeper_threads > 0) { |
sweeper_thread_ = new SweeperThread*[FLAG_sweeper_threads]; |
for (int i = 0; i < FLAG_sweeper_threads; i++) { |