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

Javadoc changes for Vector api

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hotspot
    • CPU:
      generic
    • OS:
      generic

      Description

      There are many refinements that can be made to the javadoc of Vector API. This bug is created to deliver the ones identified so far and listed below.
      The javadoc needs to go through more iterations of reviews to identify further refinements.

      - Explicitly mentioning whether an operation is "lane-wise" (example, Vector.add(Vector<E>)) or "cross-lane" (FloatVector.addAll()) makes it easier to understand.
      - (XxxVector/VectorMask/VectorShuffle).getElement() can be renamed to lane().
      - added VectorShuffle.shuffleIota(VectorSpecies<E> species, int start) and VectorShuffle.shuffleOffset(VectorSpecies<E> species, int start) to provide more ways to create shuffle.
      - Change the javadoc to reflect the new api changes in [1] and [2].
      - Fix misspellings

      [1] https://bugs.openjdk.java.net/browse/JDK-8222584
      [2] https://bugs.openjdk.java.net/browse/JDK-8222290

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkharbas Kishor Kharbas
                Reporter:
                kkharbas Kishor Kharbas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: