-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.3.0
-
x86
-
windows_nt
Name: szC45993 Date: 08/05/99
CompileTheWorld debugging flag using
(i.e., for definitity, with Tonga/src/nsk/arguments/compileroracle001 test)
crash java_g (HotSpot Client VM 1.3beta, mixed mode, debug build l) on WinNT
(Pentium II, 350MHz, 128Mb RAM, Windows NT 4.0 Workstation).
Same result exists for java_g (HotSpot VM 1.0.1, mixed mode, debug build d) on WinNT
(Pentium II, 350MHz, 128Mb RAM, Windows NT 4.0 Workstation).
See log and source below.
[#] cd F:/ld24/java/zss/TONGA_WSs/testbase_js/src/nsk/arguments/compileroracle001
[#] f:/ld25/java/dest/jdk1.3L/win32/bin/javac compileroracle001.java
[#] f:/ld25/java/dest/jdk1.3L/win32/bin/java_g -version
java version "1.3"
HotSpot Client VM (1.3beta, mixed mode, debug build l)
[Verifying threads permgen oldgen ct newgen rset syms strs lkup zone dict hand C-heap ]
[#] f:/ld25/java/dest/jdk1.3L/win32/bin/java_g -verify -XX:+CompileTheWorld compileroracle001
...
CompileTheWorld : Done
[1] + Done(134) f:/ld25/java/dest/jdk1.3L/win32/bin/java_g -verify -XX:+CompileTheWorld compileroracle001
203 Abort f:/ld25/java/dest/jdk1.3L/win32/bin/java_g
[#] echo $?
134
[#] d:/from_C/jdk1.2.2W-hs1.0.1betaD/bin/java_g -version
java version "1.2.2"
HotSpot VM (1.0.1, mixed mode, debug build d)
[Verifying threads permgen oldgen ct newgen rset syms lkup zone dict hand C-heap ]
[#]
[#] d:/from_C/jdk1.2.2W-hs1.0.1betaD/bin/java_g -verify -XX:+CompileTheWorld compileroracle001
CompileTheWorld : Compiling all classes in d:\from_c\jdk1.2.2w-hs1.0.1betad\jre\lib\rt.jar
CompileTheWorld (1) : com/sun/java/swing/plaf/motif/MotifButtonListener
CompileTheWorld (2) : com/sun/java/swing/plaf/motif/MotifButtonUI
CompileTheWorld (3) : com/sun/java/swing/plaf/motif/MotifBorders
CompileTheWorld (4) : com/sun/java/swing/plaf/motif/MotifBorders$BevelBorder
CompileTheWorld (5) : com/sun/java/swing/plaf/motif/MotifBorders$FocusBorder
CompileTheWorld (6) : com/sun/java/swing/plaf/motif/MotifBorders$ButtonBorder
CompileTheWorld (7) : com/sun/java/swing/plaf/motif/MotifBorders$ToggleButtonBorder
CompileTheWorld (8) : com/sun/java/swing/plaf/motif/MotifBorders$MenuBarBorder
...
CompileTheWorld (4775) : java/text/resources/LocaleElements_tr_TR
CompileTheWorld (4776) : java/text/resources/LocaleElements_uk
CompileTheWorld (4777) : java/text/resources/LocaleElements_uk_UA
CompileTheWorld (4778) : java/text/resources/LocaleElements_zh
CompileTheWorld (4779) : java/text/resources/LocaleElements_zh_CN
CompileTheWorld (4780) : java/text/resources/LocaleElements_zh_HK
CompileTheWorld (4781) : java/text/resources/LocaleElements_zh_TW
CompileTheWorld : Done
[1] + Done(134) d:/from_C/jdk1.2.2W-hs1.0.1betaD/bin/java_g -verify -XX:+CompileTheWorld -XX:Flags=./compileroracle001.opts compileroracle001
176 Abort d:/from_C/jdk1.2.2W-hs1.0.1betaD/bin/java_g
[#] echo $?
134
SOURCE:
========
//--------------------- compileroracle001.java:
// Ident: @(#)compileroracle001.java 1.1 99/07/14
// Copyright 07/14/99 Sun Microsystems, Inc. All Rights Reserved
import java.io.PrintStream;
interface compileroracle_i {
public int P_R_C_2(int i);
}
interface compileroracle_ii extends compileroracle_i {
public int P_R_C_3(int i);
}
abstract class compileroracle001a implements compileroracle_ii {
public int P_R_C_2(int i) {
if (i != 100000) return 1925;
return 1979;
}
}
class compileroracle001b extends compileroracle001a {
public int P_R_C_3(int i) {
if (i != 100000) return 1925;
return 1979;
}
}
public class compileroracle001 implements compileroracle_i {
public int P_R_C_2(int i) {
if (i != 100000) return 1924;
return 1957;
}
public static void P_R_C_1() {
int k = 0;
int i = 1956;
compileroracle_i compileroracle_isb = (compileroracle_i) new compileroracle001b();
for (k = 0; k <= 1000000; k++) {
i = compileroracle_isb.P_R_C_2(k);
}
}
public static int run(String argv[], PrintStream out) {
P_R_C_1();
return 0;
}
public static void main(String argv[]) {
System.exit(run(argv, System.out) + 95/*STATUS_TEMP*/);
}
}
//---------------------
======================================================================