Details
Description
Name: asR10013 Date: 05/25/2000
JDK build 1.3.0beta-b06 does not support option -Xss<size> which
sets Java thread stack size. The following sample output demonstrates
incorrect behavior of jvm.
Note that such behavior is not observed under Solaris.
--------------------------linux output ------------------------------
$ java -version
java version "1.3.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b06)
Java HotSpot(TM) Client VM (build 1.3.0beta-b04, mixed mode)
$ java -Xss64k -version
The stack size specified is too small, Specify at least 64k
Could not create the Java virtual machine.
$ java -Xss128k -version
The stack size specified is too small, Specify at least 64k
Could not create the Java virtual machine.
$ java -server -Xss64k -version
The stack size specified is too small, Specify at least 64k
Could not create the Java virtual machine.
$ java -server -Xss128k -version
The stack size specified is too small, Specify at least 64k
Could not create the Java virtual machine.
--------------------------- Solaris output ---------------------------
$ java -version
java version "1.3.0rc3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc3-Z)
Java HotSpot(TM) Client VM (build 1.3.0rc3-Z, interpreted mode)
$ java -Xss64k -version
java version "1.3.0rc3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc3-Z)
Java HotSpot(TM) Client VM (build 1.3.0rc3-Z, interpreted mode)
----------------------------------------------------------------------
This bug cause failure of the followig tests from testbase_ss suite:
CancellableThreadTest
DaemonThreadInterrupted
DeadThreadInterrupted
InterruptingThreadAlreadyInterrupted
NormalThreadInterrupted
ThreadInterruptedNotStarted
======================================================================