| Index: Source/platform/heap/ThreadState.cpp
|
| diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp
|
| index d9618393402e09b50ac8cde15375e2335c00c7d9..47d9c817abe92f99d5994400413fcd7d15f2993e 100644
|
| --- a/Source/platform/heap/ThreadState.cpp
|
| +++ b/Source/platform/heap/ThreadState.cpp
|
| @@ -842,19 +842,19 @@ void ThreadState::flushHeapDoesNotContainCacheIfNeeded()
|
| }
|
| }
|
|
|
| -void ThreadState::makeConsistentForSweeping()
|
| +void ThreadState::makeConsistentForGC()
|
| {
|
| ASSERT(isInGC());
|
| - TRACE_EVENT0("blink_gc", "ThreadState::makeConsistentForSweeping");
|
| + TRACE_EVENT0("blink_gc", "ThreadState::makeConsistentForGC");
|
| for (int i = 0; i < NumberOfHeaps; ++i)
|
| - m_heaps[i]->makeConsistentForSweeping();
|
| + m_heaps[i]->makeConsistentForGC();
|
| }
|
|
|
| void ThreadState::preGC()
|
| {
|
| ASSERT(!isInGC());
|
| setGCState(GCRunning);
|
| - makeConsistentForSweeping();
|
| + makeConsistentForGC();
|
| prepareRegionTree();
|
| flushHeapDoesNotContainCacheIfNeeded();
|
| clearHeapAges();
|
|
|