On Thu, 24 Oct 2024 11:32:27 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:
>> 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. I have the changes to Class/ClassLoader to propose as soon as this JEP integrates. If that can go in quickly then it would remove any concerns in advance of your cleanup to remove the filtering of these frames (although I don't think there is an issue as this code path is conditional based on whether a SM is set). ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21498#discussion_r1815107403