RFR: 8329421: Native methods can not be selectively printed [v2]

Volker Simonis simonis at openjdk.org
Tue Apr 2 07:23:25 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.

Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:

  Add test for -XX:+PrintNativeNMethods

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18567/files
  - new: https://git.openjdk.org/jdk/pull/18567/files/49ae8d51..0f9f0ac6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18567&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18567&range=00-01

  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 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