On Thu, 24 Oct 2024 07:15:53 GMT, Alan Bateman <al...@openjdk.org> wrote:

>> but you won't see access_controller_klass or priviledged_action_klass 
>> frames, so no need to skip them?  Not sure why you'd want to skip class 
>> loader frames here.
>
> Right, although you might have to wait until there is more cleanup in the JDK 
> code before they disappear completely. To clarify, most uses of privileged 
> actions are only done when a SecurityManager is set but there some cases 
> where they execute unconditionally. In the Class/ClassLoader then I think 
> they are done conditionally so you should be okay. Are there tests for 
> `-Xlog:class+resolve=debug` that would fail if we had a bug in this tracing 
> code?

So you're saying there will still be these frames in the stack that we want to 
skip?  Okay, we'll clean all that out later then.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21498#discussion_r1814801818

Reply via email to