| Index: Source/platform/heap/HeapTest.cpp
|
| diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp
|
| index 137cf4f0ae20e08a03384cef6fa6281f5a27ea52..84a55e4005878aa54cd4883c0d94fafd3a2fbfb6 100644
|
| --- a/Source/platform/heap/HeapTest.cpp
|
| +++ b/Source/platform/heap/HeapTest.cpp
|
| @@ -230,7 +230,7 @@
|
| {
|
| m_state->checkThread();
|
| if (LIKELY(ThreadState::stopThreads())) {
|
| - Heap::preGC(ThreadState::GCWithSweep);
|
| + Heap::preGC();
|
| m_parkedAllThreads = true;
|
| }
|
| }
|
| @@ -517,15 +517,11 @@
|
| }
|
|
|
| if (gcCount < gcPerThread) {
|
| - // Taking snapshot shouldn't have any bad side effect.
|
| - Heap::collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::TakeSnapshot, Heap::ForcedGC);
|
| Heap::collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::GCWithSweep, Heap::ForcedGC);
|
| gcCount++;
|
| atomicIncrement(&m_gcCount);
|
| }
|
|
|
| - // Taking snapshot shouldn't have any bad side effect.
|
| - Heap::collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::TakeSnapshot, Heap::ForcedGC);
|
| Heap::collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::GCWithSweep, Heap::ForcedGC);
|
| EXPECT_EQ(wrapper->value(), 0x0bbac0de);
|
| EXPECT_EQ((*globalPersistent)->value(), 0x0ed0cabb);
|
|
|