RFR: 8352696: JFR: assert(false): EA: missing memory path [v3]

Markus Grönlund mgronlun at openjdk.org
Mon Mar 24 12:34:53 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

Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:

  Xbatch

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24192/files
  - new: https://git.openjdk.org/jdk/pull/24192/files/e072153b..0ba8abfb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24192&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24192&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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