RFR: 8313564: Fix -Wconversion warnings in classfile code [v4]
Dean Long
dlong at openjdk.org
Thu Aug 3 10:30:36 UTC 2023
On Thu, 3 Aug 2023 01:37:08 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> This patch fixes various -Wconversion warnings in classfile code. I broke the change into commits so the changes are easier to see.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix Atomic items_added code.
src/hotspot/cpu/x86/vm_version_x86.cpp line 1808:
> 1806:
> 1807: // Allocation prefetch settings
> 1808: int cache_line_size = checked_cast<int>(prefetch_data_size());
I don't see why the old code would produce a warning, except with -Wsign-conversion on 32-bit platforms.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15111#discussion_r1283000602
More information about the graal-dev
mailing list