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

Jorn Vernee jvernee at openjdk.java.net
Fri Nov 12 13:38:45 UTC 2021


On Fri, 12 Nov 2021 08:21:27 GMT, Nick Gasson <ngasson at openjdk.org> wrote:

> 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.

Thanks!

I think in the future we could probably also remove TraceOptimziedUpcallStubs in favor of PrintStubCode.

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

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


More information about the panama-dev mailing list