简体   繁体   English

Netbeans内存探查器抛出的探查器引擎警告

[英]Profiler engine warning throws by Netbeans Memory Profiler

I am trying to use Netbeans profiler, although I can run Profiler monitor but when I run Profiler Memory it shows the following errors in console under GlasshFish4 window. 我正在尝试使用Netbeans Profiler,尽管我可以运行Profiler Monitor,但是当我运行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

These are not errors, per-se. 这些本身不是错误。 These are warnings about the profiler engine not being able to transform various synthetic classes generated by the app server container. 这些是关于事件探查器引擎无法转换由应用服​​务器容器生成的各种综合类的警告。 The profiler keeps on working just fine. 探查器可以正常工作。

Also, switching to VisualVm wouldn't change anything since the same engine is used. 同样,切换到VisualVm不会改变任何东西,因为使用了相同的引擎。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM