< prev index next >
src/share/vm/gc/shared/vmGCOperations.cpp
Print this page
@@ -198,11 +198,11 @@
}
// Returns true iff concurrent GCs unloads metadata.
bool VM_CollectForMetadataAllocation::initiate_concurrent_GC() {
#if INCLUDE_ALL_GCS
- if (UseConcMarkSweepGC && CMSClassUnloadingEnabled) {
+ if (UseConcMarkSweepGC && ClassUnloadingWithConcurrentMark) {
MetaspaceGC::set_should_concurrent_collect(true);
return true;
}
if (UseG1GC && ClassUnloadingWithConcurrentMark) {
< prev index next >