[jdk20] RFR: 8299733: AArch64: "unexpected literal addressing mode" assertion failure with -XX:+PrintC1Statistics [v2]

Andrew Haley aph at openjdk.org
Mon Jan 9 12:34:59 UTC 2023


On Mon, 9 Jan 2023 11:37:14 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> We ran into a not so fun bug in the ZGC repo, where the lack of initialization of _base and _index led to strange corruption and unintended results. We are carrying a patch locally to always initialize them, that I have been thinking of upstreaming. In the end, it seems like just initializing them is the safest option, rather than keeping track of all the exact places where reading the fields will potentially have corrupt data.

A bug in what, though? In ZGC or the host compiler?

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

PR: https://git.openjdk.org/jdk20/pull/87


More information about the hotspot-compiler-dev mailing list