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); |