RFR: 8329421: Native methods can not be selectively printed

Volker Simonis simonis at openjdk.org
Mon Apr 1 19:26:17 UTC 2024


Native methods (i.e. "native wrappers") can not be selectively printed with `-XX:CompileCommand=print,class::method`. Currently the only way to print native methods is to use the global `-XX:+PrintAssembly` option. But this prints *all* compiled methods which can be too much if we're just interested in a specific native wrapper. There's no reason to not apply `-XX:CompileCommand` options correctly to native methods as well.

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

Commit messages:
 - 8329421: Native methods can not be selectively printed

Changes: https://git.openjdk.org/jdk/pull/18567/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18567&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329421
  Stats: 101 lines in 2 files changed: 78 ins; 13 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/18567.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18567/head:pull/18567

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


More information about the hotspot-dev mailing list