-
Bug
-
Resolution: Fixed
-
P2
-
23
-
b23
-
x86_64, aarch64
-
windows
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8333218 | 21.0.5-oracle | Alexey Ivanov | P2 | Closed | Fixed | b01 |
JDK-8334609 | 21.0.5 | Andrew Lu | P2 | Resolved | Fixed | b01 |
JDK-8343961 | 17.0.14 | Andrew Lu | P2 | Resolved | Fixed | b03 |
JDK-8333257 | 17.0.13-oracle | Alexey Ivanov | P2 | Closed | Fixed | b01 |
JDK-8333289 | 11.0.25-oracle | Alexey Ivanov | P2 | Closed | Fixed | b01 |
JDK-8333538 | 8u431 | Alexey Ivanov | P2 | Closed | Fixed | b01 |
All the failures found on Windows look the same:
Number of snapshots: 20
Number of snapshots where number of loader threads:
= 1: 19
= 2: 0
> 2: 1
Exception in Test Runner: class java.lang.RuntimeException: Detected 1 snapshots with several loading threads
java.lang.RuntimeException: Detected 1 snapshots with several loading threads
at LoaderThreadCount.runTest(LoaderThreadCount.java:168)
at LoaderThreadCount.wrapper(LoaderThreadCount.java:108)
at java.base/java.lang.Thread.run(Thread.java:1575)
A kind of tolerance is needed. For example, fail the test if the number of snapshots with more than 2 loading threads is above 2 or 3. Without the fix, the number of such snapshots is much higher, usually at 20 out of 20, the lowest I've seen over the recent days is 16.
A fraction of the number of (valid) snapshots could be used, for instance SNAPSHOTS / 2 or loaderCount.size() / 2, both usually give 10 on Windows.
- backported by
-
JDK-8334609 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
- Resolved
-
JDK-8343961 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
- Resolved
-
JDK-8333218 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
- Closed
-
JDK-8333257 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
- Closed
-
JDK-8333289 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
- Closed
-
JDK-8333538 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
- Closed
- clones
-
JDK-8331494 BasicDirectoryModel/LoaderThreadCount.java fails in CI
- Open
- relates to
-
JDK-8333880 BasicDirectoryModel/LoaderThreadCount.java still fails frequently on Windows in CI
- Open
-
JDK-8331142 Add test for number of loader threads in BasicDirectoryModel
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/c9592070
-
Commit openjdk/jdk/ffbdfffb
-
Commit(master) openjdk/jdk17u-dev/ef8243a6
-
Review openjdk/jdk21u-dev/741
-
Review openjdk/jdk/19156
-
Review(master) openjdk/jdk17u-dev/2605