-
Bug
-
Resolution: Cannot Reproduce
-
P2
-
None
-
1.4.0
-
x86
-
windows_98
The following attached program runJCE.java repeats the Runtime.exec of
InitKeyTests and write3Tests for a default of 2000 iterations. It also
create 3 threads. One thread to constantly monitor the Process.exitValue()
of the child process. The other 2 threads to drain out the System.out
and System.err of the child process. Meantime the main program balks at the
Process.waitFor() statement until "done".
Each executing iteration would normally take about 2 to 3 minutes at most.
However, after a number of runs the main thread just hangs at the waitFor
statement indefinitely. Strangely, the thread that monitor the exitValue
has indication that the child process has indeed exited already?
The program only stalls on Window98. It ran fine on Solaris and Window2000.
InitKeyTests and write3Tests for a default of 2000 iterations. It also
create 3 threads. One thread to constantly monitor the Process.exitValue()
of the child process. The other 2 threads to drain out the System.out
and System.err of the child process. Meantime the main program balks at the
Process.waitFor() statement until "done".
Each executing iteration would normally take about 2 to 3 minutes at most.
However, after a number of runs the main thread just hangs at the waitFor
statement indefinitely. Strangely, the thread that monitor the exitValue
has indication that the child process has indeed exited already?
The program only stalls on Window98. It ran fine on Solaris and Window2000.
- relates to
-
JDK-4388330 Java does not exit properly
-
- Closed
-
-
JDK-4458946 Intermittent crash upon VM shutdown
-
- Closed
-