[kaffe] Default stack size
guilhem at kaffe.org
Mon Jun 7 21:56:03 PDT 2004
Dalibor Topic wrote:
> Dalibor Topic wrote:
>> Guilhem Lavaux wrote:
>>> I have just committed some new code for stack size handling. Now, on
>>> platforms which support, kaffe uses setrlimit to update its maximum
>>> stack size according to -ss. The problem is that by default we have a
>>> stack of 32k on ix86 which is quite short for many applications.
>>> Maybe we should increase the default stack size for the main thread...
>> I wouldn't mind increasing the stack size. Kero and Fabien reported
>> problems on arm linux till they increased the stack size to 48k, for
>> example. The default stack size on the JDK is at least 512k in 1.3 :)
>> But is 512k necessary for kjc?
> I mean, I'd suggest 64k as the new default, if 32k is too small. do you
> have some particular application that needs more?
> dalibor topic
No, but I haven't yet tested the real stack size needed by kjc. I just
know that 500k is sufficient (there is a lot of recursive code in kjc so
it might be high).
More information about the kaffe