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

[lworld] XBarrierSetC2::clone_at_expansion() uses wrong array copy stub for cloning flat primitive type arrays

XMLWordPrintable

      make exploded-test TEST_OPTS=VM_OPTIONS="-XX:+UseZGC" TEST=compiler/valhalla/inlinetypes/TestArrays.java

      Caused by: java.lang.RuntimeException: assertEquals: expected 21990232555622 to equal 102
              at jdk.test.lib.Asserts.fail(Asserts.java:594)
              at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
              at jdk.test.lib.Asserts.assertEquals(Asserts.java:189)
              at jdk.test.lib.Asserts.assertEQ(Asserts.java:166)
              at compiler.valhalla.inlinetypes.TestArrays.verify(TestArrays.java:111)
              at compiler.valhalla.inlinetypes.TestArrays.test125_verifier(TestArrays.java:2975)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)

      Other failure modes:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S141882/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/cc476274-ca1f-4500-8847-c23dda634e7f/runs/8fef2952-5b12-40e4-86c7-49432a553877/workspace/open/src/hotspot/share/gc/x/xBarrier.cpp:110), pid=220444, tid=220445
      # assert(!XAddress::is_weak_good(addr)) failed: Should not be weak good
      #
      # JRE version: Java(TM) SE Runtime Environment (22.0+1) (fastdebug build 22-valhalla+1-12)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-valhalla+1-12, mixed mode, sharing, compressed class ptrs, z gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x193d188] XBarrier::relocate(unsigned long)+0x108

            chagedorn Christian Hagedorn
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: