equal
deleted
inserted
replaced
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 |