我正在尝试使用Netbeans profiler,虽然我可以运行Profiler监视器,但是当我运行Profiler Memory时,它在控制台的GlasshFish4窗口下显示以下错误。
*** Profiler engine warning: class sun.reflect.GeneratedConstructorAccessor107 that should be instrumented is not loaded by target VM
SEVERE: *** Requested classloader: sun.reflect.DelegatingClassLoader@554f6057
SEVERE: , its class = class sun.reflect.DelegatingClassLoader, index = 354, hashcode = 1431265367
SEVERE: *** Profiler engine warning: target VM cannot load class to instrument sun.reflect.GeneratedConstructorAccessor107
SEVERE: *** probably it has been unloaded recently
SEVERE: *** Profiler engine warning: class sun.reflect.GeneratedConstructorAccessor108 that should be instrumented is not loaded by target VM
SEVERE: *** Requested classloader: sun.reflect.DelegatingClassLoader@25bb0b75
SEVERE: , its class = class sun.reflect.DelegatingClassLoader, index = 355, hashcode = 633015157
SEVERE: *** Profiler engine warning: target VM cannot load class to instrument sun.reflect.GeneratedConstructorAccessor108
SEVERE: *** probably it has been unloaded recently
SEVERE: *** Profiler engine warning: class sun.reflect.GeneratedConstructorAccessor109 that should be instrumented is not loaded by target VM
SEVERE: *** Requested classloader: sun.reflect.DelegatingClassLoader@44540a55
SEVERE: , its class = class sun.reflect.DelegatingClassLoader, index = 356, hashcode = 1146358357
SEVERE: *** Profiler engine warning: target VM cannot load class to instrument sun.reflect.GeneratedConstructorAccessor109
SEVERE: *** probably it has been unloaded recently发布于 2014-01-04 20:23:20
就其本身而言,这些不是错误。这些是关于分析器引擎无法转换由应用服务器容器生成的各种合成类的警告。分析器一直工作得很好。
此外,切换到VisualVm不会改变任何事情,因为使用了相同的引擎。
https://stackoverflow.com/questions/20279166
复制相似问题