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

VectorAPI: Method "checkMaskFromIndexSize" should be force inlined

XMLWordPrintable

    • b13

      Method "checkMaskFromIndexSize" is called by masked API "fromArray/intoArray/fromMemorySegment/...". It is used to check whether the index of any active lanes in a mask will reach out of the boundary of given array/MemorySegment.

      This function should be force inlined, or a VectorMask object is necessary once the call is not inlined by compiler, which affects the API performance a lot.

            xgong Xiaohong Gong
            xgong Xiaohong Gong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: