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

Unified Diff: src/heap/gc-tracer.h

Issue 2493803002: [heap] Add basic infrastructure for Minor Mark-Compact collector (Closed)
Patch Set: Addressed comment Created 4 years, 1 month 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/globals.h ('k') | src/heap/gc-tracer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/gc-tracer.h
diff --git a/src/heap/gc-tracer.h b/src/heap/gc-tracer.h
index 64ade07f8054c05adfd8c5198e2e3f633526ea44..ed62dee5f1aea5b9bc9e08a770559576f9674ef7 100644
--- a/src/heap/gc-tracer.h
+++ b/src/heap/gc-tracer.h
@@ -152,7 +152,8 @@ class V8_EXPORT_PRIVATE GCTracer {
SCAVENGER = 0,
MARK_COMPACTOR = 1,
INCREMENTAL_MARK_COMPACTOR = 2,
- START = 3
+ MINOR_MARK_COMPACTOR = 3,
+ START = 4
};
Event(Type type, GarbageCollectionReason gc_reason,
@@ -413,8 +414,8 @@ class V8_EXPORT_PRIVATE GCTracer {
// Separate timer used for --runtime_call_stats
RuntimeCallTimer timer_;
- base::RingBuffer<BytesAndDuration> recorded_scavenges_total_;
- base::RingBuffer<BytesAndDuration> recorded_scavenges_survived_;
+ base::RingBuffer<BytesAndDuration> recorded_minor_gcs_total_;
+ base::RingBuffer<BytesAndDuration> recorded_minor_gcs_survived_;
base::RingBuffer<BytesAndDuration> recorded_compactions_;
base::RingBuffer<BytesAndDuration> recorded_incremental_mark_compacts_;
base::RingBuffer<BytesAndDuration> recorded_mark_compacts_;
« no previous file with comments | « src/globals.h ('k') | src/heap/gc-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698