8322890: Directly return in OldPLABSizeConstraintFunc

Reviewed-by: ayang, tschatzl
This commit is contained in:
Lei Zaakjyu 2024-01-09 15:52:39 +00:00 committed by Albert Mingkun Yang
parent 438ab7c115
commit 886386c039

View File

@ -93,13 +93,7 @@ JVMFlag::Error YoungPLABSizeConstraintFunc(size_t value, bool verbose) {
}
JVMFlag::Error OldPLABSizeConstraintFunc(size_t value, bool verbose) {
JVMFlag::Error status = JVMFlag::SUCCESS;
{
status = MinMaxPLABSizeBounds("OldPLABSize", value, verbose);
}
return status;
return MinMaxPLABSizeBounds("OldPLABSize", value, verbose);
}
JVMFlag::Error MinHeapFreeRatioConstraintFunc(uintx value, bool verbose) {