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

Add microbenchmark for array copying/clearing/resizing

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 13
    • None
    • core-libs
    • None
    • b19

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: