< prev index next >

src/hotspot/share/gc/g1/g1_globals.hpp

Print this page
rev 52487 : Worked on comments from Sangheon, Stefan
rev 52494 : adding jtreg tests, whitebox api.

@@ -300,8 +300,17 @@
                                                                             \
   diagnostic(bool, G1VerifyHeapRegionCodeRoots, false,                      \
           "Verify the code root lists attached to each heap region.")       \
                                                                             \
   develop(bool, G1VerifyBitmaps, false,                                     \
-          "Verifies the consistency of the marking bitmaps")
+          "Verifies the consistency of the marking bitmaps")                \
+                                                                            \
+  experimental(uintx, G1YoungExpansionBufferPercent, 10,                    \
+               "When heterogenous heap is enabled by AllocateOldGenAt "     \
+               "option, after every GC, young gen is re-sized which "       \
+               "involves system calls to commit/uncommit memory. To "       \
+               "reduce these calls, we keep a buffer of extra regions to "  \
+               "absorb small changes in young gen length. This flag takes " \
+               "the buffer size as an percentage of young gen length")      \
+               range(0, 100)
 
 #endif // SHARE_VM_GC_G1_G1_GLOBALS_HPP
< prev index next >