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

Roland Westrelin roland at openjdk.org
Tue Feb 18 18:56:55 UTC 2025


On Tue, 18 Feb 2025 13:44:14 GMT, Damon Fenacci <dfenacci at openjdk.org> wrote:

> I noticed that the test `compiler/arraycopy/TestArrayCopyOverflowInBoundChecks.java` seems to be failing on linux x64 with the same `assert(use_mem_state != load->find_exact_control(load->in(0))) failed: dependence cycle found` error **after** your fix:
> 
> ```
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  Internal Error (src/hotspot/share/opto/gcm.cpp:916), pid=1506939, tid=1506963
> #  assert(use_mem_state != load->find_exact_control(load->in(0))) failed: dependence cycle found
> #
> ```

Thanks for the report. I can't reproduce it, though. Do you pass any command line options?

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

PR Comment: https://git.openjdk.org/jdk/pull/23465#issuecomment-2666109398


More information about the hotspot-compiler-dev mailing list