United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6505618 jconsole VM summary tab presents empty page when connecting to a VM launched with -Xint
JDK-6505618 : jconsole VM summary tab presents empty page when connecting to a VM launched with -Xint

Details
Type:
Bug
Submit Date:
2006-12-18
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
tools
OS:
generic
Sub-Component:
jconsole
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:

Sub Tasks

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

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

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



Hardware and Software, Engineered to Work Together