muarine commented on issue #13676: URL: https://github.com/apache/skywalking/issues/13676#issuecomment-3775804940
> This issue has been fixed in the SkyWalking Java Agent by PR [apache/skywalking-java#772](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. When is version 9.6.0 expected to be released -- 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]
