RFR: 8285246: AArch64: remove overflow check from InterpreterMacroAssembler::increment_mdp_data_at
Andrew Haley
aph at openjdk.java.net
Fri Apr 22 15:55:35 UTC 2022
On Fri, 22 Apr 2022 15:16:22 GMT, Nick Gasson <ngasson at openjdk.org> wrote:
> > Also, IIRC Gil Tene has spoken about the risk of counter values going backwards if atomic increments aren't used, and he believed it was a real risk, so +1 to investigating that.
>
> I think there are two potential benefits from using far atomics here: one is not losing updates, the other is better performance if two threads are concurrently updating the same counters.
One I believe, the other I'll believe when I see it!
-------------
PR: https://git.openjdk.java.net/jdk/pull/8363
More information about the hotspot-compiler-dev
mailing list