Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8008546

WRONG G1CONFIDENCEPERCENT RESULTS IN GUARANTEE(VARIANCE() > -1.0) FAILED

XMLWordPrintable

    • gc
    • b21
    • x86
    • linux
    • Verified

         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)
          

              vkempik Vladimir Kempik
              vkempik Vladimir Kempik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: