JDK-6946417 : G1: Java VisualVM does not support G1 properly.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 6u21
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2010-04-22
  • Updated: 2013-09-18
  • Resolved: 2011-05-10
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 7 Other
7Fixed hs21Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The page "Monitor" shows that "Heap size" and "Used heap" are both zeroes for G1.

It is a not good for visualVM bundled with JDK.

I've start visualVM for
-->/net/vmsqe.russia/export/jdk/6/build/u20.old/linux-i586/bin/java -version
java version "1.6.0_20-ea"
Java(TM) SE Runtime Environment (build 1.6.0_20-ea-b02)
Java HotSpot(TM) Server VM (build 17.0-b12, mixed mode)

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/b52782ae3880
05-05-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/b52782ae3880
22-04-2011

EVALUATION Some additional changes (very minor) for 6946385 were needed to make visualVM work. All where pushed with 6946385.
18-04-2011

EVALUATION This is likely a dup of 6946385. But I'll leave it open in case we need to do some further tweaking after 6946385 is fixed.
06-05-2010