-
Bug
-
Resolution: Unresolved
-
P4
-
23
CollectorPolicy.young_scaled_initial_ergo()'s comment says
// If NewSize has been ergonomically set, the collector policy
// should use it for min but calculate the initial young size
// using NewRatio.
(https://github.com/openjdk/jdk/blob/master/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp#L224)
and code has comment that says:
// If NewSize is set on the command line, we should use it as
// the initial size, but make sure it is within the heap bounds.
(https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shared/genArguments.cpp#L258)
BTW, I believe CollectorPolicy gtest is fault, please refer to the discussion inJDK-8331675. I think we should convert them to something similar to https://github.com/openjdk/jdk/blob/master/test/hotspot/jtreg/gc/arguments/TestParallelGCErgo.java. GC experts, please confirm.
// If NewSize has been ergonomically set, the collector policy
// should use it for min but calculate the initial young size
// using NewRatio.
(https://github.com/openjdk/jdk/blob/master/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp#L224)
and code has comment that says:
// If NewSize is set on the command line, we should use it as
// the initial size, but make sure it is within the heap bounds.
(https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shared/genArguments.cpp#L258)
BTW, I believe CollectorPolicy gtest is fault, please refer to the discussion in
- relates to
-
JDK-8331675 gtest CollectorPolicy.young_min_ergo_vm fails after 8272364
- Resolved