Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: Source/platform/heap/Heap.cpp

Issue 1097443004: Oilpan: rename GCState and GCReason values to reflect function only. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/heap/Heap.h ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.cpp
diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp
index 16c67093890111d27448cde922ab3d20f9a7e54f..a0c872890da9ab8b961edc74a7a5dbd4338ffa88 100644
--- a/Source/platform/heap/Heap.cpp
+++ b/Source/platform/heap/Heap.cpp
@@ -2207,7 +2207,7 @@ const char* Heap::gcReasonString(GCReason reason)
STRINGIFY_REASON(IdleGC);
STRINGIFY_REASON(PreciseGC);
STRINGIFY_REASON(ConservativeGC);
- STRINGIFY_REASON(ForcedGCForTesting);
+ STRINGIFY_REASON(ForcedGC);
#undef STRINGIFY_REASON
case NumberOfGCReason: ASSERT_NOT_REACHED();
}
@@ -2398,7 +2398,7 @@ void Heap::collectAllGarbage()
// pointing to other heap allocated objects.
size_t previousLiveObjects = 0;
for (int i = 0; i < 5; ++i) {
- collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::GCWithSweep, ForcedGCForTesting);
+ collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::GCWithSweep, ForcedGC);
size_t liveObjects = Heap::markedObjectSize();
if (liveObjects == previousLiveObjects)
break;
« no previous file with comments | « Source/platform/heap/Heap.h ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698