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

David Holmes dholmes at openjdk.org
Thu Jun 22 01:19:17 UTC 2023


On Thu, 22 Jun 2023 01:12:55 GMT, David Holmes <dholmes at openjdk.org> wrote:

>>> you are only showing Java frames
>> 
>> I'm not aware of a way to print the native frames (outside of hs-err logging). It would be great if such a mechanism exists.
>> 
>>> if it it might not match too many things
>> 
>> If you make the filter a FQN, you can be very specific.
>
> See `JavaThread::print_jni_stack()`

Of course we'd need to generalize `print_jni_stack` to take an `outputStream` parameter.

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

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


More information about the hotspot-dev mailing list