6919638: CMS: ExplicitGCInvokesConcurrent misinteracts with gc locker

GC-locker induced concurrent full gc should be asynchronous; policy now controlled by a separate flag, which defaults to false.

Reviewed-by: jmasa
This commit is contained in:
Y. Srinivas Ramakrishna 2010-05-03 20:19:05 -07:00
parent 643553d0e6
commit d14cf2e13c
5 changed files with 14 additions and 9 deletions

View file

@ -1303,6 +1303,10 @@ class CommandLineFlags {
"also unloads classes during such a concurrent gc cycle " \
"(effective only when UseConcMarkSweepGC)") \
\
product(bool, GCLockerInvokesConcurrent, false, \
"The exit of a JNI CS necessitating a scavenge also" \
" kicks off a bkgrd concurrent collection") \
\
develop(bool, UseCMSAdaptiveFreeLists, true, \
"Use Adaptive Free Lists in the CMS generation") \
\