RFR: 8336466: C2: Parser 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:30 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> As shown in [JDK-8336103](https://bugs.openjdk.org/browse/JDK-8336103), C2 Parser code uses `is_initializer` in the code where we expect to only check for constructors. The fix nominally changes the behavior for C2. I do not believe this is something readily observable, but need to be more explicit.
>> 
>> 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 three additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8336466-c2-parser-init-check
>  - Missed the spot
>  - Fix

Thanks! I am integrating then.

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

PR Comment: https://git.openjdk.org/jdk/pull/20191#issuecomment-2238660660


More information about the hotspot-compiler-dev mailing list