]
David Lloyd closed JBAS-8927.
-----------------------------
Resolution: Won't Fix
The best thing to do is add a note to the HackingOnAS7 document, or better yet start a new
"Profiling AS7" wiki page. Every entry added to that system property slows down
class loading for everything, and many profilers require different values there. We
cannot add one specific profiler without adding the others, and we can't really afford
a performance hit across the board for a developer use case.
jvisualvm on as7 with profile enabled results in
ClassCircularityErrors - way to preconfigure AS7 allow it ?
------------------------------------------------------------------------------------------------------------
Key: JBAS-8927
URL:
https://issues.jboss.org/browse/JBAS-8927
Project: JBoss Application Server
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: Max Rydahl Andersen
1) start as7
2) start jvisualvm and connect to the as 7 process.
3) go to Profiler tab
4) click CPU
wait a few seconds and you as7 console output gets filled with ClassCircularityErrors:
02:35:22,145 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:22,145 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:22,145 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:22,146 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:22,146 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:22,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:22,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:22,147 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
02:35:23,142 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:23,142 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:23,142 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:23,142 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:23,143 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:23,143 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:23,143 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:23,143 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
02:35:23,159 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:23,159 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:23,159 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:23,160 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
02:35:24,144 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:24,145 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:24,145 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:24,146 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
02:35:24,151 ERROR [stderr] (RMI TCP Connection(idle)) Exception in thread "RMI TCP
Connection(idle)" java.lang.ClassCircularityError:
org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
02:35:24,157 ERROR [stderr] (RMI TCP Connection(idle)) at
org.jboss.logmanager.Logger.isLoggable(Logger.java:153)
02:35:24,157 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.runtime.Log$LoggerLog.isLoggable(Log.java:206)
02:35:24,157 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:731)
02:35:24,157 ERROR [stderr] (RMI TCP Connection(idle)) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:652)
02:35:24,158 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
02:35:24,158 ERROR [stderr] (RMI TCP Connection(idle)) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
02:35:24,158 ERROR [stderr] (RMI TCP Connection(idle)) at
java.lang.Thread.run(Thread.java:680)
Maybe add -Djboss.modules.system.pkgs=org.netbeans.lib.profiler.server as a default ?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: