-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b134
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8307235 | 8u391 | kiran kumar J | P4 | Resolved | Fixed | b01 |
java/nio/file/WatchService/UpdateInterference.java test creates a couple of daemon threads which have an infinite loop inside. When the test finishes, those daemon still keep running as long as jtreg use this instance of JVM to run other tests (the test doesn't run in othervm mode).
The test also creates a WatchService which creates a "FileSystemWatchService" daemon thread. Then, the test doesn't close this WatchService, and as a result, this daemon thread keeps running as well.
The test shouldn't leave daemon threads when it finishes. It may slow down further test execution. If other tests also leave daemon threads, it may cause intermittent test failures, see for exampleJDK-8160642 and JDK-8162757.
The test also creates a WatchService which creates a "FileSystemWatchService" daemon thread. Then, the test doesn't close this WatchService, and as a result, this daemon thread keeps running as well.
The test shouldn't leave daemon threads when it finishes. It may slow down further test execution. If other tests also leave daemon threads, it may cause intermittent test failures, see for example
- backported by
-
JDK-8307235 java/nio/file/WatchService/UpdateInterference.java test leaves daemon threads
- Resolved
- relates to
-
JDK-8160642 sun/security/tools/jarsigner/warnings/HasUnsignedEntryTest.java failed with timeout
- Closed
-
JDK-8162757 sun/net/www/protocol/http/NoCache.java failed due to timeout
- Closed