wu-sheng commented on issue #13676: URL: https://github.com/apache/skywalking/issues/13676#issuecomment-3772553107
This issue has been fixed in the SkyWalking Java Agent by PR https://github.com/apache/skywalking-java/pull/772. The fix changed `CLASS_LOADER_TYPE_CACHE` from `ConcurrentHashMap` to `WeakHashMap`, so when a ClassLoader is garbage collected, its cached TypeDescription entries are automatically cleaned up. This addresses the OOM issue for applications that dynamically generate many runtime classes (like lambdas and anonymous classes). The fix will be available in Java Agent version 9.6.0. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
