Index: src/heap/gc-idle-time-handler.h |
diff --git a/src/heap/gc-idle-time-handler.h b/src/heap/gc-idle-time-handler.h |
index 681edaacb7906d91c1b3c89472a9e43ace376b7f..f953c87b3b81049345b2f23e15b451eb694c844d 100644 |
--- a/src/heap/gc-idle-time-handler.h |
+++ b/src/heap/gc-idle-time-handler.h |
@@ -16,7 +16,6 @@ |
DO_INCREMENTAL_MARKING, |
DO_SCAVENGE, |
DO_FULL_GC, |
- DO_FULL_GC_COMPACT, |
DO_FINALIZE_SWEEPING |
}; |
@@ -58,14 +57,6 @@ |
static GCIdleTimeAction FullGC() { |
GCIdleTimeAction result; |
result.type = DO_FULL_GC; |
- result.parameter = 0; |
- result.additional_work = false; |
- return result; |
- } |
- |
- static GCIdleTimeAction FullGCCompact() { |
- GCIdleTimeAction result; |
- result.type = DO_FULL_GC_COMPACT; |
result.parameter = 0; |
result.additional_work = false; |
return result; |
@@ -130,10 +121,6 @@ |
// This is the maximum scheduled idle time. Note that it can be more than |
// 16 ms when there is currently no rendering going on. |
static const size_t kMaxScheduledIdleTime = 50; |
- |
- // This is the minimum time needed to trigger a full garbage collection which |
- // tries to reduce memory footprint. |
- static const size_t kMinTimeForReduceMemory = 600; |
// We conservatively assume that in the next kTimeUntilNextIdleEvent ms |
// no idle notification happens. |
@@ -208,8 +195,6 @@ |
size_t size_of_objects, |
size_t mark_compact_speed_in_bytes_per_ms); |
- static bool ShouldDoReduceMemoryMarkCompact(size_t idle_time_in_ms); |
- |
static bool ShouldDoContextDisposalMarkCompact(int context_disposed, |
double contexts_disposal_rate); |