[foreign-memaccess+abi] RFR: 8276987: Optimized upcall stub should be printed with -XX:+PrintStubCode

Nick Gasson ngasson at openjdk.java.net
Fri Nov 12 08:27:13 UTC 2021


That would allow it to be found by JMH's profasm which uses `-XX:+PrintStubCode` to collect the addresses of stubs.  Note that JMH at the moment can't actually parse the stubs printed by `trace_new_stub` (because they have a "Decoding ..." prefix and don't include the end address), but that can be fixed on the JMH side.

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

Commit messages:
 - 8276987: Optimized upcall stub should be printed with -XX:+PrintStubCode

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

PR: https://git.openjdk.java.net/panama-foreign/pull/611


More information about the panama-dev mailing list