src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp
changeset 59296 9186be5c78ba
parent 58989 f92ef5d182b5
equal deleted inserted replaced
59295:8b6cc0bb93d0 59296:9186be5c78ba
   169     log_info(gc)("Min heap equals to max heap, disabling ShenandoahUncommit");
   169     log_info(gc)("Min heap equals to max heap, disabling ShenandoahUncommit");
   170     FLAG_SET_DEFAULT(ShenandoahUncommit, false);
   170     FLAG_SET_DEFAULT(ShenandoahUncommit, false);
   171   }
   171   }
   172 
   172 
   173   // If class unloading is disabled, no unloading for concurrent cycles as well.
   173   // If class unloading is disabled, no unloading for concurrent cycles as well.
   174   // If class unloading is enabled, users should opt-in for unloading during
   174   if (!ClassUnloading) {
   175   // concurrent cycles.
       
   176   if (!ClassUnloading || !FLAG_IS_CMDLINE(ClassUnloadingWithConcurrentMark)) {
       
   177     log_info(gc)("Consider -XX:+ClassUnloadingWithConcurrentMark if large pause times "
       
   178                  "are observed on class-unloading sensitive workloads");
       
   179     FLAG_SET_DEFAULT(ClassUnloadingWithConcurrentMark, false);
   175     FLAG_SET_DEFAULT(ClassUnloadingWithConcurrentMark, false);
   180   }
   176   }
   181 
   177 
   182   // AOT is not supported yet
   178   // AOT is not supported yet
   183   if (UseAOT) {
   179   if (UseAOT) {