JDK-8008546 : WRONG G1CONFIDENCEPERCENT RESULTS IN GUARANTEE(VARIANCE() > -1.0) FAILED
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7u7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2013-02-20
  • Updated: 2015-01-13
  • Resolved: 2013-02-24
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 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
Related Reports
Relates :  
Relates :  
Description
 Problem Statement
  =================
  If an out of range value was used with -XX:G1ConfidencePercent=N, e.g. 200,
  JVM may crash with following guarantee.  G1ConfidencePercent value should be
  validated before starting VM.
  
  #  Internal Error (numberSeq.cpp:184), pid=7292, tid=2067221360
  #  guarantee(variance() > -1.0) failed: variance should be >= 0
  
  Issue Clarification
  ===================
  Crash
    If an out of range value was used with -XX:G1ConfidencePercent=N, e.g.
  200, JVM may crash with following guarantee.
  #  Internal Error (numberSeq.cpp:184), pid=7292, tid=2067221360
  #  guarantee(variance() > -1.0) failed: variance should be >= 0
  
  How often have you seen the problem?
    Almost always with -XX:G1ConfidencePercent=200
  How reproducable is the problem?
    Run a java program which keeps allocating memory with following options.
    -XX:+UseG1GC -XX:G1ConfidencePercent=200
  
  system configuration
  ====================
  Full output from java -version
  java version "1.7.0_07"
  Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
  Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)
  
Comments
JDK: 1.8.0-ea-b81 HS: 25.0-b22
11-06-2013