equal
deleted
inserted
replaced
137 warning("AlwaysPreTouch is enabled, disabling ShenandoahUncommit"); |
137 warning("AlwaysPreTouch is enabled, disabling ShenandoahUncommit"); |
138 } |
138 } |
139 FLAG_SET_DEFAULT(ShenandoahUncommit, false); |
139 FLAG_SET_DEFAULT(ShenandoahUncommit, false); |
140 } |
140 } |
141 |
141 |
|
142 if ((InitialHeapSize == MaxHeapSize) && ShenandoahUncommit) { |
|
143 log_info(gc)("Min heap equals to max heap, disabling ShenandoahUncommit"); |
|
144 FLAG_SET_DEFAULT(ShenandoahUncommit, false); |
|
145 } |
|
146 |
142 // If class unloading is disabled, no unloading for concurrent cycles as well. |
147 // If class unloading is disabled, no unloading for concurrent cycles as well. |
143 // If class unloading is enabled, users should opt-in for unloading during |
148 // If class unloading is enabled, users should opt-in for unloading during |
144 // concurrent cycles. |
149 // concurrent cycles. |
145 if (!ClassUnloading || !FLAG_IS_CMDLINE(ClassUnloadingWithConcurrentMark)) { |
150 if (!ClassUnloading || !FLAG_IS_CMDLINE(ClassUnloadingWithConcurrentMark)) { |
146 log_info(gc)("Consider -XX:+ClassUnloadingWithConcurrentMark if large pause times " |
151 log_info(gc)("Consider -XX:+ClassUnloadingWithConcurrentMark if large pause times " |