RFR: 8377172: Change datatype of CodeEntryAlignment to uint [v2]
Leo Korinth
lkorinth at openjdk.org
Tue Feb 10 13:39:34 UTC 2026
On Tue, 10 Feb 2026 12:58:18 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:
>> src/hotspot/share/runtime/flags/jvmFlagConstraintsCompiler.cpp line 169:
>>
>>> 167: JVMFlag::printError(verbose,
>>> 168: "CodeCacheSegmentSize (%zu) must be "
>>> 169: "larger than or equal to CodeEntryAlignment (%d) "
>>
>> Why `%d` and not `%u`?
>
> That is a bug of mine, I will fix it. I wonder why the compiler did not catch it. Thanks!
I have updated the code now
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29637#discussion_r2788001642
More information about the hotspot-dev
mailing list