Merge V8 at 2.5.9.19
Pull in the latest V8 for various stability fixes.
Note that this deviates from the Chromium 9.0.597.x branch.
Bug: 3483676
Change-Id: I06d94f1d178d76395fe437a9ac01a4c71f0fada9
diff --git a/src/spaces.h b/src/spaces.h
index 60068c3..1b99c56 100644
--- a/src/spaces.h
+++ b/src/spaces.h
@@ -2062,6 +2062,12 @@
accounting_stats_.DeallocateBytes(accounting_stats_.Size());
accounting_stats_.AllocateBytes(new_size);
+ // Flush allocation watermarks.
+ for (Page* p = first_page_; p != top_page; p = p->next_page()) {
+ p->SetAllocationWatermark(p->AllocationTop());
+ }
+ top_page->SetAllocationWatermark(new_top);
+
#ifdef DEBUG
if (FLAG_enable_slow_asserts) {
intptr_t actual_size = 0;