RFR: 8193513: add support for printing a stack trace on class loading [v2]

Ioi Lam iklam at openjdk.org
Thu Jun 29 03:14:22 UTC 2023


On Thu, 29 Jun 2023 01:36:56 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> As David said, the advantage of using logging is for output file redirection and avoidance of more tty in the code.
>
> More.  You could even do -Xlog:class+load+cause+native to get the native stack.  -Xlog:class+load+cause* to get native and Java stacks, and configure it to be compatible with logging rather than these character sequences you have above.

`external_name()` needs a `ResourceMark`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14553#discussion_r1246026069


More information about the hotspot-dev mailing list