提交 78fa3721 编写于 作者: J jwilhelm

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
上级 3fea9968
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部