32
32
#include " utilities/globalDefinitions.hpp"
33
33
34
34
void EpsilonInitLogger::print_gc_specific () {
35
- // Warn users that non-resizable heap might be better for some configurations.
36
- // We are not adjusting the heap size by ourselves, because it affects startup time.
37
- if (InitialHeapSize != MaxHeapSize) {
38
- log_warning (gc, init)(" Consider setting -Xms equal to -Xmx to avoid resizing hiccups" );
39
- }
40
-
41
- // Warn users that AlwaysPreTouch might be better for some configurations.
42
- // We are not turning this on by ourselves, because it affects startup time.
43
- if (FLAG_IS_DEFAULT (AlwaysPreTouch) && !AlwaysPreTouch) {
44
- log_warning (gc, init)(" Consider enabling -XX:+AlwaysPreTouch to avoid memory commit hiccups" );
45
- }
46
-
47
35
if (UseTLAB) {
48
36
size_t max_tlab = EpsilonHeap::heap ()->max_tlab_size () * HeapWordSize;
49
37
log_info (gc, init)(" TLAB Size Max: " SIZE_FORMAT " %s" ,
@@ -57,6 +45,18 @@ void EpsilonInitLogger::print_gc_specific() {
57
45
} else {
58
46
log_info (gc, init)(" TLAB: Disabled" );
59
47
}
48
+
49
+ // Suggest that non-resizable heap might be better for some configurations.
50
+ // We are not adjusting the heap size by ourselves, because it affects startup time.
51
+ if (InitialHeapSize != MaxHeapSize) {
52
+ log_info (gc)(" Consider setting -Xms equal to -Xmx to avoid resizing hiccups" );
53
+ }
54
+
55
+ // Suggest that AlwaysPreTouch might be better for some configurations.
56
+ // We are not turning this on by ourselves, because it affects startup time.
57
+ if (FLAG_IS_DEFAULT (AlwaysPreTouch) && !AlwaysPreTouch) {
58
+ log_info (gc)(" Consider enabling -XX:+AlwaysPreTouch to avoid memory commit hiccups" );
59
+ }
60
60
}
61
61
62
62
void EpsilonInitLogger::print () {
0 commit comments