RFR: 8193513: add support for printing a stack trace on class loading [v2]
David Holmes
dholmes at openjdk.org
Thu Jun 22 01:16:05 UTC 2023
On Wed, 21 Jun 2023 14:43:58 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> Ah I see, so those initial entries are empty stacks because you are only showing Java frames. I misunderstood. I was thinking a full native trace. If a class is loaded as part of verification of another class, the Java stack might not be that useful.
>>
>> As for "contains" ... just not sure if it it might not match too many things ... I guess you just have to be more specific about whether you specify a simple class name of FQN.
>
>> 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()`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14553#discussion_r1237873726
More information about the hotspot-dev
mailing list