JDK-8008546 : WRONG G1CONFIDENCEPERCENT RESULTS IN GUARANTEE(VARIANCE() > -1.0) FAILED
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Affected Version: 7u7
  • OS: linux
  • CPU: x86
  • Submit Date: 2013-02-20
  • Updated Date: 2015-01-13
  • Resolved Date: 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 Availabitlity Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8Fixed
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
2013-06-11