-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.2, 5.0
-
tiger
-
sparc
-
solaris_8
-
Verified
Name: elR10090 Date: 12/05/2001
The latest Merlin-b88 cannot run the simpliest HelloWorld test with -Xss64k
option.
This error was observed with -server -Xcomp options on Solsparc platform
for both java and java_g VMs:
% cat HelloWorld.java
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
% ../jdk1.4.0beta-b88/solsparc/bin/java -server -Xcomp -Xss64k HelloWorld
Exception in thread "main" java.lang.StackOverflowError
% ../jdk1.4.0beta-b88/solsparc/bin/java_g -server -Xcomp -Xss64k HelloWorld
Exception in thread "main" java.lang.StackOverflowError
The test passes on all other platforms and modes:
% ../jdk1.4.0beta-b88/solsparc/bin/java -server -Xss64k HelloWorld
Hello World
% ../jdk1.4.0beta-b88/solsparc/bin/java -Xcomp -Xss64k HelloWorld
Hello World
% ../jdk1.4.0beta-b88/solx86/bin/java -server -Xcomp -Xss64k HelloWorld
Hello World
The test passes fine when more then 64k is assigned to java thread stack size:
% ../jdk1.4.0beta-b88/solsparc/bin/java -server -Xcomp -Xss65k HelloWorld
Hello World
However, the Java virtual machine cannot start if java thread stack size is less
then 64k:
% ../jdk1.4.0beta-b88/solsparc/bin/java -server -Xcomp -Xss63k HelloWorld
The stack size specified is too small, Specify at least 64k
Could not create the Java virtual machine.
See similar bugs that have already been integrated:
4428839 HS1.4: sparc 64-bit java and java_g VMs cannot start with -Xss
option
4287029 the java VM crashs with the -Xss option
This bug attects the test from testbase_nsk
nsk/regression/b4287029
======================================================================
- relates to
-
JDK-4428839 HS1.4: sparc 64-bit java and java_g VMs cannot start with -Xss option
- Closed
-
JDK-4287029 the java VM crashs with the -Xss option
- Closed