RFR: 8308506: Reduce testing time by removing combinations tested

Leo Korinth lkorinth at openjdk.org
Mon May 22 11:53:16 UTC 2023


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.

-------------

Commit messages:
 - 8308506: Reduce testing time by removing combinations tested

Changes: https://git.openjdk.org/jdk/pull/14078/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14078&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8308506
  Stats: 21 lines in 2 files changed: 0 ins; 21 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/14078.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14078/head:pull/14078

PR: https://git.openjdk.org/jdk/pull/14078


More information about the hotspot-gc-dev mailing list