Index: src/incremental-marking.cc |
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
index d0346171d3db3f164831d64c56d9d29e848753c8..c4f166bb9877f0fad7a27843e2f5d95636d75033 100644 |
--- a/src/incremental-marking.cc |
+++ b/src/incremental-marking.cc |
@@ -396,7 +396,7 @@ bool IncrementalMarking::WorthActivating() { |
return !FLAG_expose_gc && |
FLAG_incremental_marking && |
!Serializer::enabled() && |
- heap_->PromotedSpaceSize() > kActivationThreshold; |
+ heap_->PromotedSpaceSizeOfObjects() > kActivationThreshold; |
} |