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

C2 creates incorrect cast after eliminating phi with unique input

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u112, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b120

      Description

      The test java/lang/invoke/VarargsArrayTest.java fails in the compiler nightlies of 2016-04-01 due to the following assert:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (C:\jprt\T\P1\153346.dmitrij\s\hotspot\src\share\vm\opto\castnode.cpp:333), pid=62836, tid=64164
      # Error: assert(jptr) failed
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-04-01-153346.dmitrij.hs-comp)
      # Java VM: Java HotSpot(TM) Server VM (fastdebug 9-internal+0-2016-04-01-153346.dmitrij.hs-comp, compiled mode, tiered, g1 gc, windows-x86)
      # Core dump will be written. Default location: C:\Users\aurora\sandbox\results\workDir\java\lang\invoke\VarargsArrayTest\hs_err_pid62836.mdmp

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zmajo Zoltan Majo (Inactive)
                Reporter:
                zmajo Zoltan Majo (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: