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

Unified Diff: src/heap.h

Issue 165448: - Added simple memory reduction behavior for IdleNotification.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 4 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 | « src/flag-definitions.h ('k') | src/heap.cc » ('j') | src/spaces.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
===================================================================
--- src/heap.h (revision 2676)
+++ src/heap.h (working copy)
@@ -280,6 +280,9 @@
return new_space_.allocation_limit_address();
}
+ // Uncommit unused semi space.
+ static bool UncommitFromSpace() { return new_space_.UncommitFromSpace(); }
+
#ifdef ENABLE_HEAP_PROTECTION
// Protect/unprotect the heap by marking all spaces read-only/writable.
static void Protect();
@@ -794,6 +797,9 @@
// Rebuild remembered set in old and map spaces.
static void RebuildRSets();
+ // Commits from space if it is uncommitted.
+ static void EnsureFromSpaceIsCommitted();
+
//
// Support for the API.
//
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap.cc » ('j') | src/spaces.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698