RFR: 8341976: C2: use_mem_state != load->find_exact_control(load->in(0)) assert failure [v2]

Roland Westrelin roland at openjdk.org
Fri Mar 21 14:44:08 UTC 2025


On Wed, 19 Mar 2025 09:01:11 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> Drive by comments: Is `-XX:-UseOnStackReplacement` required to reproduce the issue?

No, it's not. I trimmed the list of options for the tests.

> There was also a crash when running with `-XX:+TraceLoopOpts`. Can you also add a run with that flag to verify that this patch also fixes that?

Added. The `TraceLoopOpts` crash reproduces: the code hits a malformed counted loop. I tweaked the printing code.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23465#discussion_r2007730637


More information about the hotspot-compiler-dev mailing list