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

Unified Diff: src/heap/heap.h

Issue 1307893002: [heap] Make Scavenge() private. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 415e7d0c5ee569ea458263beb294efc1245cead9..4be2ffe50edc74b8972a3488333b190cd357dc53 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1681,6 +1681,9 @@ class Heap {
private:
Heap();
+ // Performs a minor collection in new generation.
+ void Scavenge();
+
int current_gc_flags() { return current_gc_flags_; }
void set_current_gc_flags(int flags) {
current_gc_flags_ = flags;
@@ -2062,9 +2065,6 @@ class Heap {
MUST_USE_RESULT AllocationResult InternalizeString(String* str);
- // Performs a minor collection in new generation.
- void Scavenge();
-
// Commits from space if it is uncommitted.
void EnsureFromSpaceIsCommitted();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698