Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index ca0907359fece6101d110f3fd1dd5ed861b4c424..b762f863cd1edc252bcad00f5e7ad28eb74120ba 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -1360,7 +1360,6 @@ bool NewSpace::AddFreshPage() { |
Address limit = NewSpacePage::FromLimit(top)->area_end(); |
if (heap()->gc_state() == Heap::SCAVENGE) { |
heap()->promotion_queue()->SetNewLimit(limit); |
- heap()->promotion_queue()->ActivateGuardIfOnTheSamePage(); |
} |
int remaining_in_page = static_cast<int>(limit - top); |