|
Quick Lists
|
|
Bug ID:
|
4427144
|
|
Votes
|
0
|
|
Synopsis
|
[server] StackOverflow.java causes SEGV on solaris sparc
|
|
Category
|
hotspot:runtime_system
|
|
Reported Against
|
merlin-beta
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 4697667,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4377621
,
4402735
,
4697667
|
|
Submit Date
|
19-MAR-2001
|
|
Description
|
public class StackOverflow {
public static void main(String[] argv) {
StackOverflow so = new StackOverflow();
so.run(0);
}
private void run(int i) {
System.out.println("depth: "+i);
run(i+1);
}
}
|
|
Work Around
|
N/A
|
|
Evaluation
|
John is this still an issue with latest JDK 1.4 and if so are we going to target a fix for 1.4 Merlin or a later release like hopper?
xxxxx@xxxxx 2001-10-31
The java runtime function writeBytes allocates a buffer on the stack to use
to call JVM_Write and because of the low stack situation, the VM runs into
the yellow pages, so has no room to invoke the signal handler to handle
stack overflow.
xxxxx@xxxxx 2002-06-18
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |