mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8153201: TestOptionsWithRanges fails with -XX:OldPLABSize=2147483648
Add parallel gc into min/max PLAB constraint function Reviewed-by: brutisso, tbenson
This commit is contained in:
parent
a868617af7
commit
a9176a6796
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ Flag::Error ConcGCThreadsConstraintFunc(uint value, bool verbose) {
|
|||
|
||||
static Flag::Error MinPLABSizeBounds(const char* name, size_t value, bool verbose) {
|
||||
#if INCLUDE_ALL_GCS
|
||||
if ((UseConcMarkSweepGC || UseG1GC) && (value < PLAB::min_size())) {
|
||||
if ((UseConcMarkSweepGC || UseG1GC || UseParallelGC) && (value < PLAB::min_size())) {
|
||||
CommandLineError::print(verbose,
|
||||
"%s (" SIZE_FORMAT ") must be "
|
||||
"greater than or equal to ergonomic PLAB minimum size (" SIZE_FORMAT ")\n",
|
||||
|
@ -127,7 +127,7 @@ static Flag::Error MinPLABSizeBounds(const char* name, size_t value, bool verbos
|
|||
|
||||
static Flag::Error MaxPLABSizeBounds(const char* name, size_t value, bool verbose) {
|
||||
#if INCLUDE_ALL_GCS
|
||||
if ((UseConcMarkSweepGC || UseG1GC) && (value > PLAB::max_size())) {
|
||||
if ((UseConcMarkSweepGC || UseG1GC || UseParallelGC) && (value > PLAB::max_size())) {
|
||||
CommandLineError::print(verbose,
|
||||
"%s (" SIZE_FORMAT ") must be "
|
||||
"less than or equal to ergonomic PLAB maximum size (" SIZE_FORMAT ")\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue