RFR: 8308506: Reduce testing time by removing combinations tested
Thomas Schatzl
tschatzl at openjdk.org
Tue May 23 07:25:50 UTC 2023
On Mon, 22 May 2023 11:44:54 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:
> 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.
Lgtm.
Note that for `Juggle3`, the changes keeps
boolean-medium
float-high
double-low
double-high
i.e. three levels run _four_ times unlike the description suggests.
-------------
Marked as reviewed by tschatzl (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14078#pullrequestreview-1438838257
More information about the hotspot-gc-dev
mailing list