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

Unified Diff: src/mark-compact.h

Issue 27133: - Pass the knowledge whether the old GC is compacting to the GC prologue and ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 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
Index: src/mark-compact.h
===================================================================
--- src/mark-compact.h (revision 1355)
+++ src/mark-compact.h (working copy)
@@ -74,8 +74,12 @@
// Type of functions to process non-live objects.
typedef void (*ProcessNonLiveFunction)(HeapObject* object);
+ // Prepares for GC by resetting relocation info in old and map spaces and
+ // choosing spaces to compact.
+ static void Prepare(GCTracer* tracer);
+
// Performs a global garbage collection.
- static void CollectGarbage(GCTracer* tracer);
+ static void CollectGarbage();
// True if the last full GC performed heap compaction.
static bool HasCompacted() { return compacting_collection_; }
@@ -123,10 +127,6 @@
// collection (NULL before and after).
static GCTracer* tracer_;
- // Prepares for GC by resetting relocation info in old and map spaces and
- // choosing spaces to compact.
- static void Prepare();
-
// Finishes GC, performs heap verification if enabled.
static void Finish();

Powered by Google App Engine
This is Rietveld 408576698