-
Bug
-
Resolution: Cannot Reproduce
-
P5
-
None
-
1.0.1
-
sparc
-
solaris_7
Name: szC45993 Date: 08/05/99
+Verbose, +WizardMode, +CountCalls debugging flags, used
for Tonga/src/nsk/arguments/parse1002 test, crash java_g
(HotSpot VM 1.0.1, build debug a) in -Xcomp mode on Solaris
(SunOS novo63 5.7 Generic_Patch sun4u sparc SUNW,Ultra-1System = SunOS).
See log and source below.
novo63% /net/novo73/export/home2/java/latkin/hotspot/jdk1.2.2W-hs1.0.1A/bin/javac parse1002.java
novo63% /net/novo73/export/home2/java/latkin/hotspot/jdk1.2.2W-hs1.0.1A/bin/java_g -Xcomp -verify -XX:+Verbose -XX:+WizardMode -XX:+CountCalls parse1002
VM option '+Verbose'
VM option '+WizardMode'
VM option '+CountCalls'
HotSpot VM warning: UseCounterDecay disabled because CountCalls is set
...
#
# HotSpot Virtual Machine Error, Internal Error
#
# Fatal: meet not symmetric
#
...
Segmentation Fault (core dumped)
novo63%
SOURCE:
========
//--------------------- parse1002.java:
// Ident: @(#)parse1002.java 1.1 99/05/21
// Copyright 05/21/99 Sun Microsystems, Inc. All Rights Reserved
import java.io.PrintStream;
public class parse1002
{
public static long counter = 0;
public static void main(String argv[]) {
System.exit(run(argv, System.out) + 95/*STATUS_TEMP*/);
}
public static int run(String argv[], PrintStream out) {
int ind;
for (ind=1; ind<=1000; ind++) {
fnc( (float) ind );
}
if (counter > (long) 1000*1000) {
return 2/*TEST_FAILED*/;
}
return 0/*TEST_PASSED*/;
}
public static void fnc(float fff) {
counter += (long) fff;
}
}
//---------------------
======================================================================