[kaffe] Default stack size
Guilhem Lavaux
guilhem at kaffe.org
Mon Jun 7 21:56:03 PDT 2004
Dalibor Topic wrote:
> Dalibor Topic wrote:
>
>> Guilhem Lavaux wrote:
>>
>>> Hi,
>>>
>>> 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...
>>
>>
>>
>> Thanks!
>>
>> 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?
>
> cheers,
> 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).
Cheers,
Guilhem Lavaux.
More information about the kaffe
mailing list