Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 83c0e4c5bcdcbc6a8d63ab190fb0100f273f2234..f73b7f52e85e78a57cf3e609b9c9c8933a2f03b1 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -741,7 +741,10 @@ DEFINE_BOOL(track_gc_object_stats, false, |
"track object counts and memory usage") |
DEFINE_BOOL(trace_gc_object_stats, false, |
"trace object counts and memory usage") |
+DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc statistics") |
DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
+DEFINE_VALUE_IMPLICATION(track_gc_object_stats, gc_stats, 1) |
+DEFINE_VALUE_IMPLICATION(trace_gc_object_stats, gc_stats, 1) |
DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking) |
DEFINE_BOOL(track_detached_contexts, true, |
"track native contexts that are expected to be garbage collected") |