JDK-8324755 : Enable parallelism in vmTestbase/gc/gctests/LargeObjects tests
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 17,21,22,23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-01-26
  • Updated: 2024-06-26
  • Resolved: 2024-04-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 21 JDK 23
11.0.25Fixed 17.0.13Fixed 21.0.5Fixed 23 b20Fixed
Related Reports
Relates :  
Description
We want to unblock parallelism for more `hotspot:tier4` tests. `vmTestbase/gc/gctests/LargeObjects` is a small test suite, running a series of effectively single-threaded tests. Note that the tests themselves can be slow, see JDK-8307788, which gets even worse when they are not parallel. There seem to be no reason to run these tests exclusively.

Current `vmTestbase/gc/gctests/LargeObjects` passes in 23 minutes with only 1.5 CPU taken:
CONF=linux-x86_64-server-fastdebug make images test   2068.61s user 39.33s system 151% cpu 23:11.72 total

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.


Comments
[jdk11u-fix-request] Approval Request from Soumadipta Roy Improves test performance. Applies cleanly, tests still pass.
11-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2762 Date: 2024-06-11 09:47:30 +0000
11-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2561 Date: 2024-06-10 16:52:36 +0000
10-06-2024

[jdk17u-fix-request] Approval Request from Soumadipta Roy Improves test performance. Applies cleanly, tests still pass.
10-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/684 Date: 2024-06-10 15:05:04 +0000
10-06-2024

[jdk21u-fix-request] Approval Request from Soumadipta Roy Improves test performance. Applies cleanly, tests still pass.
10-06-2024

Changeset: 003e86fe Author: Soumadipta Roy <roysouma@amazon.com> Committer: Aleksey Shipilev <shade@openjdk.org> Date: 2024-04-18 07:57:11 +0000 URL: https://git.openjdk.org/jdk/commit/003e86fe38ca1b809418f6282336e259862d0776
18-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18798 Date: 2024-04-16 12:11:55 +0000
16-04-2024