Possible Memory leak in Number of Loaded classes in Java Application

前端 未结 6 591
被撕碎了的回忆
被撕碎了的回忆 2021-02-02 02:29

I recently began profiling an osgi java application that I am writing using VisualVM. One thing I have noticed is that when the application starts sending data to a client (ove

6条回答
  •  不要未来只要你来
    2021-02-02 03:35

    You might find some hotspot flags to be of use in understanding this behavior like:

    • -XX:+TraceClassLoading
    • -XX:+TraceClassUnloading

    This is a good reference:

    http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp

提交回复
热议问题