This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Signal handling rewrite for Linux / i386


Andrew Haley wrote:

>+ // Size of a thread's stack
>+ #define STACK_SIZE (1024 * 1024)
>

Is it wise to fix the size of the stack like this? Don't we lose 
something by circumventing the kernel's variable-size/floating stack 
feature? Certainly, it seems that ulimit -s won't be respected (which 
can be useful if you want to run a lot of threads on a 32-bit machine 
and avoid running out of virtual memory).

regards

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]