RFR: 8303451: Synchronization entry in C2 debug info is misleading

Daohan Qu duke at openjdk.org
Sat May 27 16:07:04 UTC 2023


This should fix [JDK-8303451](https://bugs.openjdk.org/browse/JDK-8303451).

It is a trivial patch that fixes a misleading code comment at method entry printed by `-XX:+PrintAssembly`.

For exmple,

0x0000ffffa409da88:   stp x29, x30, [sp, #16]         ;*synchronization entry

will become

0x0000ffffa409da88:   stp x29, x30, [sp, #16]         ; * invocation entry (also synchronization entry if synchronized)

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

Commit messages:
 - Update the output of PrintAssembly in a jtreg test
 - Fix the misleading code comment at method entry

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

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


More information about the hotspot-compiler-dev mailing list