comparison src/share/vm/runtime/arguments.cpp @ 23225:3c2ea5da6afd jdk8u45-b37

8085965: VM hangs in C2Compiler Summary: CMSClassUnloadingEnabled and ExplicitGCInvokesConcurrentAndUnloadsClasses should be disabled when -Xnoclassgc is specified Reviewed-by: jmasa, kbarrett
author poonam
date Wed, 17 Jun 2015 05:56:43 -0700
parents 41c3c456e326
children ea47136e6ea4
comparison
equal deleted inserted replaced
23224:79b13c9a93e8 23225:3c2ea5da6afd
1370 // If either of the static initialization defaults have changed, note this 1370 // If either of the static initialization defaults have changed, note this
1371 // modification. 1371 // modification.
1372 if (!FLAG_IS_DEFAULT(CMSParPromoteBlocksToClaim) || !FLAG_IS_DEFAULT(OldPLABWeight)) { 1372 if (!FLAG_IS_DEFAULT(CMSParPromoteBlocksToClaim) || !FLAG_IS_DEFAULT(OldPLABWeight)) {
1373 CFLS_LAB::modify_initialization(OldPLABSize, OldPLABWeight); 1373 CFLS_LAB::modify_initialization(OldPLABSize, OldPLABWeight);
1374 } 1374 }
1375
1376 if (!ClassUnloading) {
1377 FLAG_SET_CMDLINE(bool, CMSClassUnloadingEnabled, false);
1378 FLAG_SET_CMDLINE(bool, ExplicitGCInvokesConcurrentAndUnloadsClasses, false);
1379 }
1380
1375 if (PrintGCDetails && Verbose) { 1381 if (PrintGCDetails && Verbose) {
1376 tty->print_cr("MarkStackSize: %uk MarkStackSizeMax: %uk", 1382 tty->print_cr("MarkStackSize: %uk MarkStackSizeMax: %uk",
1377 (unsigned int) (MarkStackSize / K), (uint) (MarkStackSizeMax / K)); 1383 (unsigned int) (MarkStackSize / K), (uint) (MarkStackSizeMax / K));
1378 tty->print_cr("ConcGCThreads: %u", (uint) ConcGCThreads); 1384 tty->print_cr("ConcGCThreads: %u", (uint) ConcGCThreads);
1379 } 1385 }