6994056: G1: when GC locker is active, extend the Eden instead of allocating into the old gen

Allow the eden to the expanded up to a point when the GC locker is active.

Reviewed-by: jwilhelm, johnc, ysr, jcoomes
This commit is contained in:
Antonios Printezis 2010-12-07 16:47:42 -05:00
parent dcf8c40e3a
commit edcfaf0f84
6 changed files with 76 additions and 17 deletions

View file

@ -1403,6 +1403,10 @@ class CommandLineFlags {
"The exit of a JNI CS necessitating a scavenge also" \
" kicks off a bkgrd concurrent collection") \
\
product(uintx, GCLockerEdenExpansionPercent, 5, \
"How much the GC can expand the eden by while the GC locker " \
"is active (as a percentage)") \
\
develop(bool, UseCMSAdaptiveFreeLists, true, \
"Use Adaptive Free Lists in the CMS generation") \
\