| Index: Source/platform/heap/ThreadState.cpp
|
| diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp
|
| index bed24ddc4168b4ae9afabafe4f5394e461be8ff1..f4596dd8f709d962db431728ce6ffd48cd750de0 100644
|
| --- a/Source/platform/heap/ThreadState.cpp
|
| +++ b/Source/platform/heap/ThreadState.cpp
|
| @@ -879,7 +879,8 @@ void ThreadState::prepareForGC()
|
| // into garbage or the middle of another object via the newly conservatively found
|
| // object.
|
| if (sweepRequested())
|
| - heap->clearLiveAndMarkDead();
|
| + heap->makeUnmarkedObjectsDead();
|
| + heap->clearObjectMarkBitMaps();
|
| }
|
| prepareRegionTree();
|
| setSweepRequested();
|
|
|