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

Some Vector API tests failed during deoptimization

XMLWordPrintable

      I ran jdk/incubator/vector/ tests with next flags and fastdebug VM on Ice Lake machine (latest Intel avx512 we have):

        -ea -esa -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+TieredCompilation -XX:+DeoptimizeALot

      two tests failed during deoptimization (could be intermittent):

      jdk/incubator/vector/Byte64VectorTests.java
      jdk/incubator/vector/Byte128VectorTests.java

      # Internal Error (/workspace/open/src/hotspot/share/prims/vectorSupport.cpp:185), pid=21316, tid=21357
      # assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL
      #
      # JRE version: Java(TM) SE Runtime Environment (18.0+29) (fastdebug build 18-ea+29-1980)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+29-1980, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x19c411f] VectorSupport::allocate_vector_payload(InstanceKlass*, frame*, RegisterMap*, ScopeValue*, JavaThread*)+0x30f

      Stack: [0x00007fcc60409000,0x00007fcc6050a000], sp=0x00007fcc60504290, free space=1004k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x19c411f] VectorSupport::allocate_vector_payload(InstanceKlass*, frame*, RegisterMap*, ScopeValue*, JavaThread*)+0x30f
      V [libjvm.so+0x19c41cd] VectorSupport::allocate_vector(InstanceKlass*, frame*, RegisterMap*, ObjectValue*, JavaThread*)+0x6d
      V [libjvm.so+0xb2c77a] Deoptimization::realloc_objects(JavaThread*, frame*, RegisterMap*, GrowableArray<ScopeValue*>*, JavaThread*)+0x9ea
      V [libjvm.so+0xb321e2] rematerialize_objects(JavaThread*, int, CompiledMethod*, frame&, RegisterMap&, GrowableArray<compiledVFrame*>*, bool&)+0x4d2
      V [libjvm.so+0xb341e9] Deoptimization::fetch_unroll_info_helper(JavaThread*, int)+0x4c9
      V [libjvm.so+0xb35674] Deoptimization::fetch_unroll_info(JavaThread*, int)+0xb4
      v ~DeoptimizationBlob

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~DeoptimizationBlob
      J 8012% c2 Byte64VectorTests.RearrangeByte64VectorTests(Ljava/util/function/IntFunction;Ljava/util/function/BiFunction;)V (156 bytes) @ 0x00007fcc66342ac8 [0x00007fcc66342440+0x0000000000000688]
      J 6622 c2 java.lang.invoke.LambdaForm$DMH+0x0000000801088c00.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V java.base@18-ea (15 bytes) @ 0x00007fcc661ba424 [0x00007fcc661ba3e0+0x0000000000000044]

            jbhateja Jatin Bhateja
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: