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

[lworld+vector] Fix vector API jtreg crashes with "-XX:InlineFieldMaxFlatSize=0"

    XMLWordPrintable

Details

    Description

      Vector API jtreg crashes with "-XX:InlineFieldMaxFlatSize=0" with several kinds of issues.

      One of them is:
      ```
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (valhalla/src/hotspot/share/opto/compile.cpp:2050), pid=4093497, tid=4093524
      # assert(false) failed: Should have been buffered
      #
      # JRE version: OpenJDK Runtime Environment (22.0) (fastdebug build 22-internal-git-7df90dfd8)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 22-internal-git-7df90dfd8, mixed mode, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x9774d8] Compile::process_inline_types(PhaseIterGVN&, bool)+0x3b4
      ```

      This is related to broadcast of the un-allocated buffer for VectorBox and the payload field before VectorBox expanding.

      Attachments

        Issue Links

          Activity

            People

              xgong Xiaohong Gong (Inactive)
              xgong Xiaohong Gong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: