Name: ipC94532 Date: 11/29/99
Java HotSpot Client VM build 1.3-P in compiled mode (-Xcomp option) crashes without
notification while running test vm/instr/astore_w/astore_w004/astore_w00401
from jck1.3 i.e. at invocation of method with large number of locals.
This is observed on winNT.
To reproduce the bug run do.bat (source text bellow)
Test passed on the classic VM and on HotSpot Client VM in mixed mode (witout options)
and in interpreted mode (-Xint)
Test was improved (The catching of StackOverflowError and OutOfMemoryError
was addeed in the test. See bug #4280626).
Running under winNT the do.bat outputs:
>do.bat
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-P)
Java HotSpot(TM) Client VM (build 1.3-P, mixed mode)
----95----
>do.bat -Xcomp
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-P)
Java HotSpot(TM) Client VM (build 1.3-P, compiled mode)
----128----
>do.bat -Xint
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-P)
Java HotSpot(TM) Client VM (build 1.3-P, interpreted mode)
----95----
Sources:
---------------------- do.bat --------------------------------
@echo off
set CLASSPATH= <Your path to classes of tests>
java %1 -version
java %1 -Xfuture javasoft.sqe.tests.vm.astore_w.astore_w004.astore_w00401.astore_w00401
echo ----%errorlevel%----
-------------------- end of do.bat ------------------------
-------------------- astore_w00401.jasm ------------------------
//File: @(#)astore_w00401.jasm 1.4 99/10/13
//Copyright 10/13/99 Sun Microsystems, Inc. All Rights Reserved
package javasoft/sqe/tests/vm/astore_w/astore_w004/astore_w00401;
public class astore_w00401 {
public static Method run:"([Ljava/lang/String;Ljava/io/PrintStream;)I"
stack 3 locals 3
{
try t7, t10;
invokestatic Method run1:"()I";
istore_2;
endtry t7, t10;
goto L10;
catch t7 java/lang/StackOverflowError;
astore_2;
goto L10;
catch t10 java/lang/OutOfMemoryError;
astore_2;
L10: iconst_0;
ireturn;
}
public static Method run1:"()I"
stack 2 locals 65535
{
aconst_null;
astore_w 65534;
iconst_0;
ireturn;
}
public static Method main:"([Ljava/lang/String;)V"
stack 2 locals 2
{
aload_0;
getstatic Field java/lang/System.out:"Ljava/io/PrintStream;";
invokestatic Method run:"([Ljava/lang/String;Ljava/io/PrintStream;)I";
bipush 95/*STATUS_TEMP*/;
iadd;
invokestatic Method java/lang/System.exit:"(I)V";
return;
}
} // end Class astore_w00401
-------------------- end of astore_w00401.jasm ------------------------
======================================================================
- duplicates
-
JDK-4463776 JCK13a vm/concepts/exceptions/exceptions031 core file on c1 & c1 Xcomp on X86
-
- Closed
-
- relates to
-
JDK-4322419 [sparc/win32/c2] Compiler2 fails astore_w00401 test.
-
- Resolved
-
-
JDK-4244976 1.3c1: IE5 on WinNT system will crash if hotspot is used when running the JCK te
-
- Closed
-
-
JDK-4477785 method with many locals crashes vm in 64-bit mode
-
- Closed
-
-
JDK-4245436 1.3c1: IE5 on NT system crashes when running vm/instr/astore_w/astore_w004/astor
-
- Closed
-