This commit is contained in:
Amit Kumar 2025-06-10 08:38:01 +00:00
parent 8e3688fd66
commit 539b3fe4a4

View File

@ -158,7 +158,7 @@ JVMFlag::Error OnStackReplacePercentageConstraintFunc(intx value, bool verbose)
JVMFlag::Error CodeCacheSegmentSizeConstraintFunc(uintx value, bool verbose) { JVMFlag::Error CodeCacheSegmentSizeConstraintFunc(uintx value, bool verbose) {
if (!is_power_of_2(value)) { if (!is_power_of_2(value)) {
JVMFlag::printError(verbose, JVMFlag::printError(verbose,
"CodeCacheSegmentSize (%zd) must be " "CodeCacheSegmentSize (%zu) must be "
"a power of two\n", CodeCacheSegmentSize); "a power of two\n", CodeCacheSegmentSize);
return JVMFlag::VIOLATES_CONSTRAINT; return JVMFlag::VIOLATES_CONSTRAINT;
} }