carterkozak opened a new pull request #329: ThrowableProxy pre-warms its cache using the detected stack URL: https://github.com/apache/logging-log4j2/pull/329 This allows us to avoid class loading even when order doesn't match the stack due to exceptions caught and pased from a slightly different codepath. This change also includes a name-based predicate to avoid loading classes types which are known not to provide location information. Unfortunately this mostly invalidates our existing benchmarks which are based on dynamic proxies, but modern java applications use proxies and lambdas heavily enough that I expect a sizable performance improvement. In a future commit we may consider relying exclusively on classes from the detected stack for location information and entirely avoid class loading.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
