safety of GCJ-generated code

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed Dec 19 15:23:00 GMT 2001


Boehm, Hans wrote:
>Yes. Though it doesn't sound to me like it's that hard if we just want to
>deal with the case in which the stack runs into a guard page, but you have
>plenty of swap space left. I think it gets much harder if you also want to
>consider the case in which you ran out of stack space because there's no
>more more memory or swap space to allocate the next stack page. 
>
Are there platforms where this is likely to be a problem? Presumably to 
avoid this sort of situation, Linux threads imposes a limit on stack 
size (32MB, IIRC), which would usually be hit long before virtual memory 
is exhausted. In the case where virtual memory really does run out the 
kernel will just start killing apps.
regards
Bryce.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /