JDK-6505618 : jconsole VM summary tab presents empty page when connecting to a VM launched with -Xint
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
jconsole 'VM Summary' tab displays an empty panel when
you connect to a VM that has been started in interpreted mode with the command-line
containing the flag -Xint
Would expect to see usual page.
The fix involves checking if the compiler MXBean is registered (after the platform MXBeans have been detected).
An IllegalArgumentException is thrown when retrieving the CompilationMXBean in SummaryTab.java. The exception caused an ExecutionException in SwingWorker which was ignored and not printed when running with -debug.
The fix is to catch the exception and show "JIT Compiler: Unavailable" in the VM Summary tab. Also add code to show ExecutionException in debug mode.
I can reproduce this on Solaris 10 SPARC with JDK 6. All the other tabs appear correct, including the MBeans tab which seems to have the information that the VM Summary tab would require. No extra output appears using "jconsole -debug".