Skip to main content

G1GC and Jconsole

1 reply [Last post]
zyg
Offline
Joined: 2009-05-27
Points: 0

With -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC, when I attach Jconsole to the VM, the memory chart scale goes from 0 to 2 bytes, and the details shows 0 bytes in use. Is there an easy way to monitor heap usage when using the new garbage collector?

Zyg

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jabley
Offline
Joined: 2006-06-14
Points: 0

The release notes state that JMX and JVM TI support is not working yet [1]. I guess this is one aspect of it.

[1] http://java.sun.com/javase/technologies/hotspot/gc/g1_intro.jsp