RFR: 8295023: Interpreter(AArch64): Implement -XX:+PrintBytecodeHistogram and -XX:+PrintBytecodePairHistogram options [v2]
Hao Sun
haosun at openjdk.org
Wed Oct 12 07:59:07 UTC 2022
On Wed, 12 Oct 2022 01:41:11 GMT, Hao Sun <haosun at openjdk.org> wrote:
>> src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp line 2008:
>>
>>> 2006: BytecodePairHistogram::log2_number_of_codes);
>>> 2007: __ stxrw(rscratch2, index, index_addr);
>>> 2008: __ cbnzw(rscratch2, L); // retry to load _index
>>
>> Please add `atomic_ldorrw` to the list of `ATOMIC_OP`s (in macroAssembler_aarch64.cpp) and use it here.
>
> Agree. Will update.
Updated in the latest commit. Please help take another look. Thanks.
-------------
PR: https://git.openjdk.org/jdk/pull/10642
More information about the hotspot-dev
mailing list