[jdk21u-dev] Integrated: 8331999: BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI

Andrew Lu andrewlu at openjdk.org
Thu Jun 20 10:15:24 UTC 2024


On Tue, 18 Jun 2024 08:16:17 GMT, Andrew Lu <andrewlu at openjdk.org> wrote:

> I backport this for parity with 21.0.5-oracle.

This pull request has now been integrated.

Changeset: c9592070
Author:    Andrew Lu <andrewlu at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/c959207094e15beaa1e6d9ce1f721bccc9c5fbef
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8331999: BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI

Introduce tolerance factor: count > loaderCount.size() / 2
Fail the test only if the number of snapshots with more than
2 file loader threads is greater than half of the number
of valid snapshots.

Backport-of: ffbdfffbc702253f32fa45dc1855b663c72074a6

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

PR: https://git.openjdk.org/jdk21u-dev/pull/741


More information about the jdk-updates-dev mailing list