void EpsilonInitLogger::print_gc_specific() { // 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, init)("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, init)("Consider enabling -XX:+AlwaysPreTouch to avoid memory commit hiccups");
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.