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

Add microbenchmark for array copying/clearing/resizing

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 13
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: