-
Bug
-
Resolution: Fixed
-
P3
-
7, 8
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8329993 | 8u421 | Daniel Skantz | P3 | Resolved | Fixed | b03 |
Test
runtime/threads/InterruptIO
has several problems:
- it has busy-wait loop which does nothing (if condition never holds true):
35 while((interrupter.isAlive())&&(interrupted.isAlive())){
36 if (threadToNotify.equals(interrupter.getName())){
37 synchronized(interrupter){
38 interrupter.notify();
39 }//end synchronized
40 }//end if
41 }//end while
- it only interrupts the thread 5 times
- uses fixed number of iterations (30000), without controlling time
Please rewrite test using STRESS_OPTIONS framework.
The test actually times out on Windows system and Tonga cannot kill it (vm-amd64-03.sfbay, Windows XP Professional, 64-bit).
The test code that is described here is no longer needed because the feature being tested has been removed.
It was removed during the resolution ofJDK-8036128.
https://bugs.openjdk.java.net/browse/JDK-8036128
runtime/threads/InterruptIO
has several problems:
- it has busy-wait loop which does nothing (if condition never holds true):
35 while((interrupter.isAlive())&&(interrupted.isAlive())){
36 if (threadToNotify.equals(interrupter.getName())){
37 synchronized(interrupter){
38 interrupter.notify();
39 }//end synchronized
40 }//end if
41 }//end while
- it only interrupts the thread 5 times
- uses fixed number of iterations (30000), without controlling time
Please rewrite test using STRESS_OPTIONS framework.
The test actually times out on Windows system and Tonga cannot kill it (vm-amd64-03.sfbay, Windows XP Professional, 64-bit).
The test code that is described here is no longer needed because the feature being tested has been removed.
It was removed during the resolution of
https://bugs.openjdk.java.net/browse/JDK-8036128
- backported by
-
JDK-8329993 [TESTBUG] Remove test runtime/threads/InterruptIO
-
- Resolved
-