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

Reduce testing time by removing combinations tested

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • hotspot
    • None
    • gc
    • b25

      Juggle3.java and Juggle3Quick.java tests many combinations of array juggling on different kinds of arrays. It tests:

      Primitive arrays (three for each kind of primitive)
      Object arrays
      Random arrays
      A version with hashing

      However when testing using primitive arrays, there is --- from a gc perspective --- no extra logic tested by going through all combinations. By removing these, we can save time and put our resources on testing other stuff.

      I will keep three versions of primitive array tests (low, medium and high) with different kinds of arrays.

      Also, the random array test will still test all primitive versions of arrays.

            lkorinth Leo Korinth
            lkorinth Leo Korinth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: