RFR: 8336465: C2: EA incorrectly/unnecessarily checks for clinits [v2]

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


On Tue, 16 Jul 2024 17:13:35 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
>
> Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8336465-c2-ea-obj-init
>  - Fix

Thanks! I am integrating then.

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

PR Comment: https://git.openjdk.org/jdk/pull/20190#issuecomment-2238660809


More information about the hotspot-compiler-dev mailing list