diff options
author | jwilhelm <none@none> | 2013-11-10 00:07:29 +0100 |
---|---|---|
committer | jwilhelm <none@none> | 2013-11-10 00:07:29 +0100 |
commit | 2a4b7a08a4920889253db62836427c616fab324a (patch) | |
tree | 804ac44076261d91f4e7654487be1617299de031 /src/share/vm/memory/collectorPolicy.cpp | |
parent | 0a72429e93605b4a1428b0a882b9de15ee563756 (diff) |
8027911: Assertion in the collector policy when running gc/arguments/TestMaxNewSize.java
Summary: Update NewSize when _initial_gen0_size is changed
Reviewed-by: tschatzl, brutisso
Diffstat (limited to 'src/share/vm/memory/collectorPolicy.cpp')
-rw-r--r-- | src/share/vm/memory/collectorPolicy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/memory/collectorPolicy.cpp b/src/share/vm/memory/collectorPolicy.cpp index 8c3e95a05..0db0f7496 100644 --- a/src/share/vm/memory/collectorPolicy.cpp +++ b/src/share/vm/memory/collectorPolicy.cpp @@ -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) { |