Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index cb95aafc4879d620c28264693db783d2c1d87bde..67ea83b13f55be30b5b2c021c4d8adc6966d1f3c 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -560,6 +560,8 @@ DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") |
DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") |
DEFINE_BOOL(gc_global, false, "always perform global GCs") |
DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") |
+DEFINE_INT(retain_maps_for_n_gc, 1, |
+ "keeps maps alive for <n> old space garbage collections") |
DEFINE_BOOL(trace_gc, false, |
"print one trace line following each garbage collection") |
DEFINE_BOOL(trace_gc_nvp, false, |