harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina" <elena.semukh...@gmail.com>
Subject [drlvm][stacks] How large is stack size limit?
Date Mon, 11 Dec 2006 10:47:59 GMT
Hello all,

The smoke test stress.Stack fails with StackOverflowError on Windows and
linux/INT. It passes only on linux/JIT now.
The test algorithm is simple: a method calls itself recursively for 7000
times. The test fails if StackOverflowError is thrown.

The following are the numbers of iterations before the test fails:

INT: 353
JET: 3963
OPT: 32264
RI*: 3689

INT: 587
JET: 7762
OPT: 72105 (!!!)
RI*: 61837

*RI is Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03

Are these numbers expected? Are there any restrictions on stack size in


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message