Netbeans Memory Profiler抛出Profiler引擎警告

时间:2013-11-29 05:47:32

标签: java netbeans jvm profiler glassfish-4

我正在尝试使用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

1 个答案:

答案 0 :(得分:0)

这些不是错误,本身。这些是关于探查器引擎无法转换应用程序服务器容器生成的各种合成类的警告。分析器继续正常工作。

此外,由于使用了相同的引擎,切换到VisualVm不会改变任何内容。

相关问题