Index: src/heap/gc-idle-time-handler.cc |
diff --git a/src/heap/gc-idle-time-handler.cc b/src/heap/gc-idle-time-handler.cc |
index b3350d1a68dabbc5fcbbe054ff125eb284d77929..accb87c99b6d455bb28b4a06047dbcfab6bfb1c0 100644 |
--- a/src/heap/gc-idle-time-handler.cc |
+++ b/src/heap/gc-idle-time-handler.cc |
@@ -144,8 +144,7 @@ GCIdleTimeAction GCIdleTimeHandler::Compute(size_t idle_time_in_ms, |
HeapState heap_state) { |
if (idle_time_in_ms == 0) { |
if (heap_state.incremental_marking_stopped) { |
- if (heap_state.size_of_objects < kSmallHeapSize && |
- heap_state.contexts_disposed > 0 && |
+ if (heap_state.contexts_disposed > 0 && |
heap_state.contexts_disposal_rate < kHighContextDisposalRate) { |
return GCIdleTimeAction::FullGC(); |
} |