Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: src/heap/spaces.h

Issue 1863363004: [heap] Fix SemiSpace::Commit/GrowTo to deal with OOM (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/heap/spaces.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/spaces.h
diff --git a/src/heap/spaces.h b/src/heap/spaces.h
index 2b0fac61969f9d995c219a757b3c53e5db986a66..6832458a16f05df9f78adb16580e0293e69ed471 100644
--- a/src/heap/spaces.h
+++ b/src/heap/spaces.h
@@ -2485,6 +2485,8 @@ class SemiSpace : public Space {
#endif
private:
+ void RewindPages(NewSpacePage* start, int num_pages);
+
inline NewSpacePage* anchor() { return &anchor_; }
// Copies the flags into the masked positions on all pages in the space.
« no previous file with comments | « no previous file | src/heap/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698