Skip to content

Commit 886386c

Browse files
LizBingalbertnetymk
authored andcommitted
8322890: Directly return in OldPLABSizeConstraintFunc
Reviewed-by: ayang, tschatzl
1 parent 438ab7c commit 886386c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/hotspot/share/gc/shared/jvmFlagConstraintsGC.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,7 @@ JVMFlag::Error YoungPLABSizeConstraintFunc(size_t value, bool verbose) {
9393
}
9494

9595
JVMFlag::Error OldPLABSizeConstraintFunc(size_t value, bool verbose) {
96-
JVMFlag::Error status = JVMFlag::SUCCESS;
97-
98-
{
99-
status = MinMaxPLABSizeBounds("OldPLABSize", value, verbose);
100-
}
101-
102-
return status;
96+
return MinMaxPLABSizeBounds("OldPLABSize", value, verbose);
10397
}
10498

10599
JVMFlag::Error MinHeapFreeRatioConstraintFunc(uintx value, bool verbose) {

0 commit comments

Comments
 (0)