8027911: Assertion in the collector policy when running gc/arguments/TestMaxNewSize.java
Update NewSize when _initial_gen0_size is changed Reviewed-by: tschatzl, brutisso
This commit is contained in:
parent
6f46da6198
commit
2ec0e87f43
@ -621,7 +621,7 @@ void TwoGenerationCollectorPolicy::initialize_size_info() {
|
||||
|
||||
// Write back to flags if necessary
|
||||
if (NewSize != _initial_gen0_size) {
|
||||
FLAG_SET_ERGO(uintx, NewSize, _max_gen0_size);
|
||||
FLAG_SET_ERGO(uintx, NewSize, _initial_gen0_size);
|
||||
}
|
||||
|
||||
if (MaxNewSize != _max_gen0_size) {
|
||||
|
Loading…
Reference in New Issue
Block a user