Skip to content

Commit

Permalink
remove 'status'
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBing committed Jan 3, 2024
1 parent 84c2379 commit 70899a1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/hotspot/share/gc/shared/jvmFlagConstraintsGC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 70899a1

Please sign in to comment.