< prev index next >
src/hotspot/share/gc/epsilon/epsilonArguments.cpp
Print this page
rev 59459 : 8245718: Epsilon: improve configuration logging
Reviewed-by: XXX
*** 43,64 ****
// Forcefully exit when OOME is detected. Nothing we can do at that point.
if (FLAG_IS_DEFAULT(ExitOnOutOfMemoryError)) {
FLAG_SET_DEFAULT(ExitOnOutOfMemoryError, true);
}
- // Warn users that non-resizable heap might be better for some configurations.
- // We are not adjusting the heap size by ourselves, because it affects startup time.
- if (InitialHeapSize != MaxHeapSize) {
- log_warning(gc)("Consider setting -Xms equal to -Xmx to avoid resizing hiccups");
- }
-
- // Warn users that AlwaysPreTouch might be better for some configurations.
- // We are not turning this on by ourselves, because it affects startup time.
- if (FLAG_IS_DEFAULT(AlwaysPreTouch) && !AlwaysPreTouch) {
- log_warning(gc)("Consider enabling -XX:+AlwaysPreTouch to avoid memory commit hiccups");
- }
-
if (EpsilonMaxTLABSize < MinTLABSize) {
log_warning(gc)("EpsilonMaxTLABSize < MinTLABSize, adjusting it to " SIZE_FORMAT, MinTLABSize);
EpsilonMaxTLABSize = MinTLABSize;
}
--- 43,52 ----
< prev index next >