RFR: 8315774: Enable parallelism in vmTestbase/gc/g1/unloading tests
Leonid Mesnik
lmesnik at openjdk.org
Wed Sep 6 16:14:39 UTC 2023
On Wed, 6 Sep 2023 15:41:26 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Current `vmTestbase/gc/g1/unloading` tests contain 112 tests, each running exclusively. This drags the `tier4` test times up. There seem to be no reason to run these tests exclusively, though: they complete in reasonable time, are lightly-threaded, and consume the usual amount of memory.
>
> We should consider enabling parallelism for them and get improved test performance. Currently it is blocked by `TEST.properties` with `exclusiveAccess.dirs` directives in them.
>
>
> $ time CONF=linux-aarch64-server-fastdebug make test TEST="vmTestbase/gc/g1/unloading"
>
> # Current config
> 4340.46s user 107.99s system 128% cpu 57:37.79 total
>
> # After this patch
> 4138.37s user 84.50s system 808% cpu 8:42.62 total
>
>
> Additional testing:
> - [x] 50x Linux AArch64 fastdebug `vmTestbase/gc/g1/unloading`
Ci works fine.
-------------
Marked as reviewed by lmesnik (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15598#pullrequestreview-1613726700
More information about the hotspot-gc-dev
mailing list