Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 76f0a3c9a86e052add7782f4600217d317fc5a44..2dba26e136e68af48224875c624086129713b959 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -162,8 +162,7 @@ Heap::Heap() |
#endif |
promotion_queue_(this), |
configured_(false), |
- chunks_queued_for_free_(NULL), |
- relocation_mutex_(NULL) { |
+ chunks_queued_for_free_(NULL) { |
// Allow build-time customization of the max semispace size. Building |
// V8 with snapshots and a non-default max semispace size is much |
// easier if you can define it as part of the build environment. |
@@ -1282,8 +1281,6 @@ class ScavengeWeakObjectRetainer : public WeakObjectRetainer { |
void Heap::Scavenge() { |
- RelocationLock relocation_lock(this); |
- |
#ifdef VERIFY_HEAP |
if (FLAG_verify_heap) VerifyNonPointerSpacePointers(); |
#endif |
@@ -6601,11 +6598,6 @@ bool Heap::SetUp() { |
store_buffer()->SetUp(); |
- if (FLAG_parallel_recompilation) relocation_mutex_ = OS::CreateMutex(); |
-#ifdef DEBUG |
- relocation_mutex_locked_ = false; |
-#endif // DEBUG |
- |
return true; |
} |
@@ -6708,8 +6700,6 @@ void Heap::TearDown() { |
incremental_marking()->TearDown(); |
isolate_->memory_allocator()->TearDown(); |
- |
- delete relocation_mutex_; |
} |