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

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

Issue 1325783007: Oilpan: A growing rate of Oilpan's heap and PartitionAlloc should be considered separately (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 | « no previous file | Source/platform/heap/ThreadState.cpp » ('j') | Source/platform/heap/ThreadState.cpp » ('J')
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 497fc612e3a7b72eabf8d8415973c8047392dbda..99924ff7783ca6bf2ad4fa518762f0f170418790 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -702,9 +702,10 @@ private:
// Internal helper for GC policy handling code. Returns true if
// an urgent conservative GC is now needed due to memory pressure.
bool shouldForceMemoryPressureGC();
- size_t estimatedLiveObjectSize();
- size_t currentObjectSize();
+ size_t estimatedLiveSize(size_t currentSize, size_t sizeAtLastGC);
+ size_t totalMemorySize();
double heapGrowingRate();
+ double partitionAllocGrowingRate();
bool judgeGCThreshold(size_t allocatedObjectSizeThreshold, double heapGrowingRateThreshold);
void runScheduledGC(StackState);
« no previous file with comments | « no previous file | Source/platform/heap/ThreadState.cpp » ('j') | Source/platform/heap/ThreadState.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698