[lworld] Integrated: 8273715: [lworld] C2 compilation fails with "missed optimization opportunity"

Tobias Hartmann thartmann at openjdk.java.net
Fri Nov 12 12:37:10 UTC 2021


The assert is too strong and triggers due to class loading that happens in parallel to the compilation and changes the output of `Compile::optimize_virtual_call` -> `Compile::optimize_inlining` -> `callee->find_monomorphic_target` which leads to a call being added to the late inline worklist.

Thanks,
Tobias

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

Commit messages:
 - 8273715: [lworld] C2 compilation fails with "missed optimization opportunity"

Changes: https://git.openjdk.java.net/valhalla/pull/581/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=581&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273715
  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/581.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/581/head:pull/581

PR: https://git.openjdk.java.net/valhalla/pull/581



More information about the valhalla-dev mailing list