RFR: 8309692: Fix -Wconversion warnings in javaClasses

Coleen Phillimore coleenp at openjdk.org
Mon Jun 12 11:56:52 UTC 2023


On Mon, 12 Jun 2023 08:11:43 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Please review this trivial patch to remove implicit integer conversions in javaClasses.inline.hpp/cpp files.
>> Tested tier1-4.
>
> src/hotspot/share/runtime/globals.hpp line 1277:
> 
>> 1275:           range(0.0, (double)max_intx)                                      \
>> 1276:                                                                             \
>> 1277:   product(intx, MaxJavaStackTraceDepth, 1024,                               \
> 
> Seems unrelated to the described issue.

This accounted for 2 warnings in javaClasses.cpp.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14397#discussion_r1226539634


More information about the hotspot-runtime-dev mailing list