[JMH] Improve jdk.incubator.vector.MaskedLogicOpts to test contiguous memory locations

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 25
    • Component/s: hotspot
    • generic
    • generic

      See the discussion here https://github.com/openjdk/jdk/pull/22963#discussion_r1954358833

      notes from [~jbhateja]. we'd better refactor this jmh test.

      ```
      By making the index hop over 16 ints or 8 longs we may leave gaps in between for 128-bit and 256-bit species, this will unnecessarily include the noise due to cache misses or (on some targets) prefetching additional cache lines which are not usable, thereby impacting the crispness of microbenchmark.
      ```

            Assignee:
            Unassigned
            Reporter:
            Hao Sun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: