Integrated: 8336465: C2: EA incorrectly/unnecessarily checks for clinits

Aleksey Shipilev shade at openjdk.org
Fri Jul 19 08:37:40 UTC 2024


On Tue, 16 Jul 2024 10:08:31 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> As shown in [JDK-8336103](https://bugs.openjdk.org/browse/JDK-8336103), EA code uses `is_initializer` where we expect to only check for constructors. This PR rewrites it appropriately. This nominally changes the EA behavior, but I do not think it would actually show up anywhere.
> 
> Additional testing:
>  - [x] Linux AArch64 server fastdebug, all (includes Fuzzer and CTW tests), passed as part of JDK-8336103 testing

This pull request has now been integrated.

Changeset: b703be9c
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b703be9cf633796456991279d07cbde98ad7f1aa
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8336465: C2: EA incorrectly/unnecessarily checks for clinits

Reviewed-by: kvn, thartmann

-------------

PR: https://git.openjdk.org/jdk/pull/20190


More information about the hotspot-compiler-dev mailing list