equal
deleted
inserted
replaced
111 |
111 |
112 // The survivor ratio's are calculated "raw", unlike the |
112 // The survivor ratio's are calculated "raw", unlike the |
113 // default gc, which adds 2 to the ratio value. We need to |
113 // default gc, which adds 2 to the ratio value. We need to |
114 // make sure the values are valid before using them. |
114 // make sure the values are valid before using them. |
115 if (MinSurvivorRatio < 3) { |
115 if (MinSurvivorRatio < 3) { |
116 FLAG_SET_ERGO(uintx, MinSurvivorRatio, 3); |
116 FLAG_SET_ERGO(MinSurvivorRatio, 3); |
117 } |
117 } |
118 |
118 |
119 if (InitialSurvivorRatio < 3) { |
119 if (InitialSurvivorRatio < 3) { |
120 FLAG_SET_ERGO(uintx, InitialSurvivorRatio, 3); |
120 FLAG_SET_ERGO(InitialSurvivorRatio, 3); |
121 } |
121 } |
122 } |
122 } |
123 |
123 |
124 void ParallelArguments::initialize_heap_flags_and_sizes() { |
124 void ParallelArguments::initialize_heap_flags_and_sizes() { |
125 if (is_heterogeneous_heap()) { |
125 if (is_heterogeneous_heap()) { |