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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • 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.
      ```

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

              Created:
              Updated: