[kaffe] Default stack size

Dalibor Topic robilad at kaffe.org
Mon Jun 7 13:54:21 PDT 2004


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




More information about the kaffe mailing list