JDK-6505618 : jconsole VM summary tab presents empty page when connecting to a VM launched with -Xint
  • Type: Bug
  • Component: tools
  • Sub-Component: jconsole
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-12-18
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
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.

To download the current JDK release, click here.
JDK 6 JDK 7
6u4Fixed 7 b06Fixed
Description
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.

Comments
EVALUATION The fix involves checking if the compiler MXBean is registered (after the platform MXBeans have been detected).
04-01-2007

EVALUATION 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.
18-12-2006

EVALUATION 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".
18-12-2006