RFR: 8352696: JFR: assert(false): EA: missing memory path
Markus Grönlund
mgronlun at openjdk.org
Mon Mar 24 11:44:48 UTC 2025
Greetings,
In debug builds, we can sometimes assert because C2's Escape Analysis does not recognize a pattern where one input of memory Phi node is a MergeMem node, and another is a RAW store.
This pattern is created by the jdk.jfr.internal.JVM.commit() intrinsic, which is inlined because of inlining JFR events, for example jdk.VirtualThreadStart.
As a result, EA complains about a strange memory graph.
Testing: jdk_jfr
Thanks
Markus
-------------
Commit messages:
- 8352696
Changes: https://git.openjdk.org/jdk/pull/24192/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24192&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8352696
Stats: 125 lines in 2 files changed: 121 ins; 1 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/24192.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24192/head:pull/24192
PR: https://git.openjdk.org/jdk/pull/24192
More information about the hotspot-compiler-dev
mailing list