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

Vladimir Kozlov kvn at openjdk.org
Tue Apr 2 17:51:00 UTC 2024


On Tue, 2 Apr 2024 07:23:25 GMT, Volker Simonis <simonis at openjdk.org> wrote:

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

Good.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18567#pullrequestreview-1974527380


More information about the hotspot-dev mailing list