Integrated: 8357223: AArch64: Optimize interpreter profile updates
Chad Rakoczy
duke at openjdk.org
Tue Jun 3 08:58:06 UTC 2025
On Wed, 28 May 2025 20:21:20 GMT, Chad Rakoczy <duke at openjdk.org> wrote:
> [JDK-8357223](https://bugs.openjdk.org/browse/JDK-8357223)
>
> The aarch64 version of [JDK-8356946](https://bugs.openjdk.org/browse/JDK-8356946)
>
> The reasoning for this change is the same as the x86 version's PR:
>
>> First, we carry the implementation for counter decrements without using them. This is dead code, and can be purged.
>>
>> Second, we care about overflows for 64-bit for some reason. I think this is a reminiscent of 32-bit x86 support, where we can plausibly have 32-bit counter overflow in a reasonable timeframe. But for 64-bit counter, we need tens of years of constantly bashing the counter to get it to overflow. No other profile counter update code, e.g. in C1, cares about this.
>
> Additional testing:
>
> - [x] Linux aarch64 fastdebug tier 1/2/3/4
This pull request has now been integrated.
Changeset: 44025276
Author: Chad Rakoczy <chadrako at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4402527683ed08eebf4953a9d83f72f64a5ff4fa
Stats: 47 lines in 2 files changed: 0 ins; 37 del; 10 mod
8357223: AArch64: Optimize interpreter profile updates
Reviewed-by: shade, aph
-------------
PR: https://git.openjdk.org/jdk/pull/25512
More information about the hotspot-compiler-dev
mailing list