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

[lworld] G1BarrierSetC2::step_over_gc_barrier asserts with "bad barrier shape"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      compiler/valhalla/inlinetypes/TestBasicFunctionality.java ran with following stress flags "-XX:-TieredCompilation -XX:-ReduceInitialCardMarks -XX:-ReduceBulkZeroing -XX:-ReduceFieldZeroing -DVerifyIR=false" crashes with

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/katya/work/JavaSE/Hotspot/ws/git/valhalla/open/src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp:764), pid=4869, tid=4884
      # assert(call->in(0) == __null || call->in(0)->in(0) == __null || call->in(0)->in(0)->in(0) == __null || call->in(0)->in(0)->in(0)->in(0) == __null || call->in(0)->in(0)->in(0)->in(0)->in(0) == __null || c == call->in(0)->in(0)->in(0)->in(0)->in(0)) failed: bad barrier shape
      #
      # JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-lworld3ea+0-2021-07-19-2212264.katya...)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-lworld3ea+0-2021-07-19-2212264.katya..., mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xc6a71c] G1BarrierSetC2::step_over_gc_barrier(Node*) const+0x77c


      I am able to reproduce this on my Linux without problems.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thartmann Tobias Hartmann
              Reporter:
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: