equal
deleted
inserted
replaced
98 } |
98 } |
99 if (FLAG_IS_DEFAULT(MetaspaceSize)) { |
99 if (FLAG_IS_DEFAULT(MetaspaceSize)) { |
100 FLAG_SET_ERGO(size_t, MetaspaceSize, 12*M); |
100 FLAG_SET_ERGO(size_t, MetaspaceSize, 12*M); |
101 } |
101 } |
102 if (FLAG_IS_DEFAULT(MaxRAM)) { |
102 if (FLAG_IS_DEFAULT(MaxRAM)) { |
103 FLAG_SET_ERGO(uint64_t, MaxRAM, 1ULL*G); |
103 // Do not use FLAG_SET_ERGO to update MaxRAM, as this will impact |
|
104 // heap setting done based on available phys_mem (see Arguments::set_heap_size). |
|
105 FLAG_SET_DEFAULT(MaxRAM, 1ULL*G); |
104 } |
106 } |
105 if (FLAG_IS_DEFAULT(CompileThreshold)) { |
107 if (FLAG_IS_DEFAULT(CompileThreshold)) { |
106 FLAG_SET_ERGO(intx, CompileThreshold, 1500); |
108 FLAG_SET_ERGO(intx, CompileThreshold, 1500); |
107 } |
109 } |
108 if (FLAG_IS_DEFAULT(OnStackReplacePercentage)) { |
110 if (FLAG_IS_DEFAULT(OnStackReplacePercentage)) { |