Add microbenchmark for array copying/clearing/resizing

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 13
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b19

      We never checked in a microbenchmark for
      JDK-6428387: array clone() much slower than Arrays.copyOf
      but now that we have jmh support, we should.

      We can reaffirm that using arraycopy is much faster than the equivalent loop.

            Assignee:
            Martin Buchholz
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: