Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index b8eea20236cb1bfcbc363f397a16bce88d87c72b..070b72c7bd9e8a035ade3f8c86d3eec3b2482703 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -535,7 +535,7 @@ MemoryChunk* MemoryChunk::Initialize(Heap* heap, Address base, size_t size, |
chunk->progress_bar_ = 0; |
chunk->high_water_mark_.SetValue(static_cast<intptr_t>(area_start - base)); |
chunk->concurrent_sweeping_state().SetValue(kSweepingDone); |
- chunk->mutex_ = new base::Mutex(); |
+ chunk->mutex_ = new base::RecursiveMutex(); |
chunk->available_in_free_list_ = 0; |
chunk->wasted_memory_ = 0; |
chunk->young_generation_bitmap_ = nullptr; |