From 6ff29c064dc042855a0a9a7ebe2cfac55edf17f3 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 5 Feb 2019 00:10:43 -0500 Subject: rts: Introduce flag to enable the nonmoving old generation This flag will enable the use of a non-moving oldest generation. --- includes/rts/Flags.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes') diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h index 678d556bf1..4499af9da6 100644 --- a/includes/rts/Flags.h +++ b/includes/rts/Flags.h @@ -52,6 +52,7 @@ typedef struct _GC_FLAGS { double oldGenFactor; double pcFreeHeap; + bool useNonmoving; uint32_t generations; bool squeezeUpdFrames; @@ -95,6 +96,7 @@ typedef struct _DEBUG_FLAGS { bool weak; /* 'w' */ bool gccafs; /* 'G' */ bool gc; /* 'g' */ + bool nonmoving_gc; /* 'n' */ bool block_alloc; /* 'b' */ bool sanity; /* 'S' warning: might be expensive! */ bool zero_on_gc; /* 'Z' */ -- cgit v1.2.1