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

Unified Diff: third_party/WebKit/Source/platform/heap/Heap.h

Issue 1666083002: Oilpan: Discard unused system pages when sweeping NormalPageHeaps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « third_party/WebKit/Source/platform/heap/DEPS ('k') | third_party/WebKit/Source/platform/heap/Heap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/Heap.h
diff --git a/third_party/WebKit/Source/platform/heap/Heap.h b/third_party/WebKit/Source/platform/heap/Heap.h
index d60fef7ed4a557f697dbd83f9e767272398c8986..9a6a940fcb780d4c50fdbde798939204ab1aea73 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.h
+++ b/third_party/WebKit/Source/platform/heap/Heap.h
@@ -266,6 +266,7 @@ public:
static double estimatedMarkingTime();
static void reportMemoryUsageHistogram();
static void reportMemoryUsageForTracing();
+ static bool isLowEndDevice() { return s_isLowEndDevice; }
#if ENABLE(ASSERT)
static uint16_t gcGeneration() { return s_gcGeneration; }
@@ -297,6 +298,7 @@ private:
static size_t s_collectedWrapperCount;
static size_t s_partitionAllocSizeAtLastGC;
static double s_estimatedMarkingTimePerByte;
+ static bool s_isLowEndDevice;
#if ENABLE(ASSERT)
static uint16_t s_gcGeneration;
#endif
« no previous file with comments | « third_party/WebKit/Source/platform/heap/DEPS ('k') | third_party/WebKit/Source/platform/heap/Heap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698