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

[vector] assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL

    XMLWordPrintable

Details

    • b30

    Backports

      Description

        vectorIntrinsics crashes with

        # Internal Error (/home/katya/work/JavaSE/Hotspot/ws/git/panama-vector/open/src/hotspot/share/prims/vectorSupport.cpp:173), pid=32306, tid=32328
        # assert(payload->is_object()) failed: expected 'object' value for scalar-replaced boxed vector but got: NULL
        #
        # JRE version: Java(TM) SE Runtime Environment (17.0) (fastdebug build 17-internal+0-LTS-2021-04-15-2003590.katya...)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-internal+0-LTS-2021-04-15-2003590.katya..., compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x18fa11f] VectorSupport::allocate_vector_payload(InstanceKlass*, frame*, RegisterMap*, ScopeValue*, Thread*)+0x30f

        when running with DeoptimizeALot flag.

        The failed list of tests:

         jdk/incubator/vector/Byte128VectorTests.java
         jdk/incubator/vector/Byte256VectorTests.java
         jdk/incubator/vector/Byte64VectorTests.java
         jdk/incubator/vector/DoubleMaxVectorTests.java
         jdk/incubator/vector/Int128VectorTests.java
         jdk/incubator/vector/Long256VectorTests.java
         jdk/incubator/vector/Short256VectorTests.java
         jdk/incubator/vector/Short64VectorTests.java
         jdk/incubator/vector/ShortMaxVectorTests.java


        To reproduce run on of above tests with "-Xcomp -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+DeoptimizeALot"

        vectorIntrinsics contains the fix for JDK-8263125 "During deoptimization vectors should reassign scalarized payload after all objects are reallocated.".
        So this is new issue.

        Attachments

          Issue Links

            Activity

              People

                vlivanov Vladimir Ivanov
                epavlova Ekaterina Pavlova
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: