RFR: 8354443: [Graal] crash after deopt in TestG1BarrierGeneration.java

Gergö Barany gbarany at openjdk.org
Wed May 7 11:27:36 UTC 2025


Remove special cases in `nmethod::is_deopt_entry` and `nmethod::is_deopt_mh_entry`. Graal used to generate a different code pattern from C2 for deopt handlers. This was changed in https://github.com/oracle/graal/commit/099f57b58edb23ed2184c11badea24edf36f30d2 to align Graal's code generation with C2. The special cases are no longer needed.

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

Commit messages:
 - 8354443: [Graal] crash after deopt in TestG1BarrierGeneration.java

Changes: https://git.openjdk.org/jdk/pull/25088/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25088&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354443
  Stats: 11 lines in 1 file changed: 0 ins; 9 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/25088.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25088/head:pull/25088

PR: https://git.openjdk.org/jdk/pull/25088


More information about the graal-dev mailing list