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

Unified Diff: Source/platform/heap/ThreadState.h

Issue 1334683002: Oilpan: An Oilpan idle GC should follow a V8 major GC (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/bindings/core/v8/V8GCController.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/ThreadState.h
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h
index 99924ff7783ca6bf2ad4fa518762f0f170418790..c48d2cbff9845a891bbabd8f1ac85467e658a729 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -226,6 +226,11 @@ public:
};
#endif
+ enum V8GCType {
+ V8MinorGC,
+ V8MajorGC,
+ };
+
// The NoAllocationScope class is used in debug mode to catch unwanted
// allocations. E.g. allocations during GC.
class NoAllocationScope final {
@@ -328,7 +333,7 @@ public:
void scheduleIdleGC();
void scheduleIdleLazySweep();
void schedulePreciseGC();
- void scheduleV8FollowupGCIfNeeded();
+ void scheduleV8FollowupGCIfNeeded(V8GCType);
void schedulePageNavigationGCIfNeeded(float estimatedRemovalRatio);
void schedulePageNavigationGC();
void scheduleGCIfNeeded();
« no previous file with comments | « Source/bindings/core/v8/V8GCController.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698