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

gc\shared\gcTimer.cpp:40 assert(!_time_partitions.has_active_phases()) failed: We should have ended all started phases, before ending the GC

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      The test compiler/uncommontrap/TestDeoptOOM.java fails with the following assert

      command: main -XX:-BackgroundCompilation -XX:CompileCommand=exclude,TestDeoptOOM::main -XX:CompileCommand=exclude,TestDeoptOOM::m9_1 -Xmx128M TestDeoptOOM
      reason: User specified action: run main/othervm -XX:-BackgroundCompilation -XX:CompileCommand=exclude,TestDeoptOOM::main -XX:CompileCommand=exclude,TestDeoptOOM::m9_1 -Xmx128M TestDeoptOOM
      elapsed time (seconds): 2.096
      STDOUT:
      CompileCommand: exclude TestDeoptOOM.main
      CompileCommand: exclude TestDeoptOOM.m9_1
      OOM caught in main Java heap space: failed reallocation of scalar replaced objects
      OOM caught in main
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=\gcTimer.cpp:40
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (...\hotspot\src\share\vm\gc\shared\gcTimer.cpp:40), pid=15496, tid=14096
      # assert(!_time_partitions.has_active_phases()) failed: We should have ended all started phases, before ending the GC
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (build 9-internal+0-2015-12-22-111206.tschatzl.81457748145672)
      # Java VM: Java HotSpot(TM) Server VM (9-internal+0-2015-12-22-111206.tschatzl.81457748145672, mixed mode, tiered, g1 gc, windows-x86)
      # Core dump will be written. Default location: ...\testoutput\JTwork\scratch\hs_err_pid15496.mdmp
      #
      # An error report file with more information is saved as:
      #...\testoutput\JTwork\scratch\hs_err_pid15496.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sangheki Sangheon Kim
                Reporter:
                tschatzl Thomas Schatzl
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: