Integrated: 8288303: C1: Miscompilation due to broken Class.getModifiers intrinsic

Aleksey Shipilev shade at openjdk.java.net
Tue Jun 14 14:39:14 UTC 2022


On Mon, 13 Jun 2022 13:21:17 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Looks like another instance when compilicated control flow in C1 LIR intrinsic confuses the C1 regalloc into miscompiling. Reliably reproduces on selected JFR tests in selected configurations, and I was unable to reproduce it in smaller test.
> 
> Additional testing:
>  - [x] JFR reproducers now pass
>  - [x] Linux x86_64 fastdebug `tier1`
>  - [x] Linux x86_32 fastdebug `tier1`
>  - [x] Linux x86_64 fastdebug `tier2`
>  - [x] Linux x86_32 fastdebug `tier2`

This pull request has now been integrated.

Changeset: 8cd87e73
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk19/commit/8cd87e731bcaff2d7838995c68056742d577ad3b
Stats:     141 lines in 2 files changed: 130 ins; 5 del; 6 mod

8288303: C1: Miscompilation due to broken Class.getModifiers intrinsic

Reviewed-by: iveresov, dlong

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

PR: https://git.openjdk.org/jdk19/pull/8


More information about the hotspot-compiler-dev mailing list