Skip to content

perf: use StackWalker for logger class detection#32917

Open
retronym wants to merge 1 commit intoakka:mainfrom
retronym:stackwalker
Open

perf: use StackWalker for logger class detection#32917
retronym wants to merge 1 commit intoakka:mainfrom
retronym:stackwalker

Conversation

@retronym
Copy link
Copy Markdown
Contributor

  • Replace legacy SecurityManager-based stack walking with Java 9+ StackWalker API
  • Improve performance by lazily streaming stack frames instead of capturing full class context
  • Remove TrickySecurityManager internal utility which is no longer needed
  • Add JUnit test case to verify logger detection through indirect call frames

@lightbend-cla-validator
Copy link
Copy Markdown

Hi @retronym,

Thank you for your contribution! We really value the time you've taken to put this together.

We see that you have signed the Akka Contributors License Agreement before, however, the CLA has changed since you last signed it.
Please review the new CLA and sign it before we proceed with reviewing this pull request:

https://contribute.akka.io/contribute/cla

@retronym retronym force-pushed the stackwalker branch 2 times, most recently from f7f3a06 to 12269e1 Compare April 28, 2026 07:00
* Replace legacy SecurityManager-based stack walking with Java 9+ StackWalker API
* Improve performance by lazily streaming stack frames instead of capturing full class context
* Remove TrickySecurityManager internal utility which is no longer needed
* Add JUnit test case to verify logger detection through indirect call frames
@retronym
Copy link
Copy Markdown
Contributor Author

@johanandren where do I place the MiMa exclusion for the removed class?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants