RFR: 8329421: Native methods can not be selectively printed [v2]
Wang Haomin
wanghaomin at openjdk.org
Fri Jun 7 01:22:17 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
That‘s great! Thank you for resolving it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18567#issuecomment-2153686077
More information about the hotspot-dev
mailing list