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

Vector API's ergonomics is incorrect

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b13

      Description


      * Reproduce
      ```
      java \
        --add-modules=jdk.incubator.vector \
        -XX:+UnlockExperimentalVMOptions \
        -XX:+EnableVectorReboxing \
        -Xlog:compilation \
        -version
      ```

      * The output will be:
      ```
      OpenJDK 64-Bit Server VM warning: Disabling EnableVectorReboxing since EnableVectorSupport is turned off.
      [0.222s][info][compilation] EnableVectorSupport=true
      [0.222s][info][compilation] EnableVectorReboxing=false
      [0.223s][info][compilation] EnableVectorAggressiveReboxing=false
      ```

      So EnableVectorReboxing is actually set fasle, which is unexpected.
      It's also incorrect for EnableVectorAggressiveReboxing.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jiefu Jie Fu
              Reporter:
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: