-
Bug
-
Resolution: Cannot Reproduce
-
P5
-
None
-
1.3.0
-
x86
-
windows_98
Name: dkC59003 Date: 11/23/99
HotSpot 1.3fcs-P crashes while executing nsk/regression/b4189870 on win-98
in both mixed and interpreted modes.
This test caused also 1.3fcs-P VM to hang while the whole testbase_nsk
was run on win-NT. However, I could not reproduce this on my machine:
Pentium II, 1 CPU, 350 MHz, 128 M RAM.
Log and test source follow:
$ java -Xint b4189870
CompilerOracle: exclude compileroracle001a P_R_C_2
CompilerOracle: exclude Class_name Method_name
CompilerOracle: break compileroracle001 P_R_C_1
CompilerOracle: break compileroracle001a P_R_C_2
CompilerOracle: break Class_name Method_name
#
# HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
#
# Error ID: 4F533F57494E13120E43505002BE
#
abnormal program termination
Error ID = os_win32.cpp, 702
----------------------------------------------------------- b4189870.java
import java.io.PrintStream;
public class b4189870 extends Thread {
// intended to cause OutOfMemoryError:
static final int threadCount = 2000;
static boolean flag = false;
public static void main(String argv[]) {
System.exit(run(argv, System.out) + 95/*STATUS_TEMP*/);
}
public static int run(String args[], PrintStream out) {
int i = 0;
try {
for (i = 0; i < threadCount; i++)
(new b4189870()).start();
} catch(OutOfMemoryError e) {
System.out.println("OutOfMemoryError thrown");
} finally {
System.out.println("Threads started: " + i);
flag = true;
}
return 0/*STATUS_PASSED*/;
}
public void run() {
while (! flag) {
try {
sleep(100);
} catch (InterruptedException x) {}
}
}
}
======================================================================
- relates to
-
JDK-4294933 EXCEPTION_ACCESS_VIOLATION/assertion while creating many threads, -Xint
-
- Closed
-