src/hotspot/share/gc/shenandoah/heuristics/shenandoahTraversalHeuristics.cpp
changeset 54479 6ad0281a654e
parent 54477 511be32f3863
child 54833 76751d3faf7b
equal deleted inserted replaced
54478:cdc54443fee5 54479:6ad0281a654e
    38  {
    38  {
    39   FLAG_SET_DEFAULT(ShenandoahSATBBarrier,            false);
    39   FLAG_SET_DEFAULT(ShenandoahSATBBarrier,            false);
    40   FLAG_SET_DEFAULT(ShenandoahStoreValEnqueueBarrier, true);
    40   FLAG_SET_DEFAULT(ShenandoahStoreValEnqueueBarrier, true);
    41   FLAG_SET_DEFAULT(ShenandoahKeepAliveBarrier,       false);
    41   FLAG_SET_DEFAULT(ShenandoahKeepAliveBarrier,       false);
    42   FLAG_SET_DEFAULT(ShenandoahAllowMixedAllocs,       false);
    42   FLAG_SET_DEFAULT(ShenandoahAllowMixedAllocs,       false);
    43 
       
    44   SHENANDOAH_ERGO_OVERRIDE_DEFAULT(ShenandoahRefProcFrequency, 1);
       
    45 
       
    46   // Adjust class unloading settings only if globally enabled.
       
    47   if (ClassUnloadingWithConcurrentMark) {
       
    48     SHENANDOAH_ERGO_OVERRIDE_DEFAULT(ShenandoahUnloadClassesFrequency, 1);
       
    49   }
       
    50 
    43 
    51   SHENANDOAH_ERGO_ENABLE_FLAG(ExplicitGCInvokesConcurrent);
    44   SHENANDOAH_ERGO_ENABLE_FLAG(ExplicitGCInvokesConcurrent);
    52   SHENANDOAH_ERGO_ENABLE_FLAG(ShenandoahImplicitGCInvokesConcurrent);
    45   SHENANDOAH_ERGO_ENABLE_FLAG(ShenandoahImplicitGCInvokesConcurrent);
    53 
    46 
    54   // Final configuration checks
    47   // Final configuration checks