RFR: 8377798: Hotspot build on macOS aarch64 with unused-functions warning reports some unused functions
Johannes Bechberger
jbechberger at openjdk.org
Thu Feb 19 15:49:33 UTC 2026
On Thu, 19 Feb 2026 15:37:57 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> src/hotspot/cpu/aarch64/templateTable_aarch64.cpp line 99:
>>
>>> 97: }
>>> 98:
>>> 99: static inline Address at_rsp() {
>>
>> Couldn't you also remove it for riscv?
>
> That's a good point ! I saw this too when preparing the change but was not sure about including it because the change is about what I saw on macOS aarch64 when testing the unused-functions warning .
>
> But technically you are right, most likely the riscv method can be removed too (not sure if in this PR) .
Good point, then maybe for a follow up PR
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29695#discussion_r2828628330
More information about the hotspot-jfr-dev
mailing list