PR java/1373: recursion stress test causes segmentation fault

Anthony Green green@redhat.com
Thu Oct 21 14:41:00 GMT 2004


On Thu, 2004-10-21 at 01:35, Andrew Haley wrote:
>  > In fact, thinking about this some more, I'm not sure how this can be
>  > safely handled in standard JVMs either.
> 
> Exactly.  There aren't any significant differences between a
> fully-compiled and a JIT environment from this point of view.  So, if
> they can do it, we can do it.

Is it possible that they're just giving the illusion of doing it
properly?

For instance, it's easy to imagine having a watchdog thread that
periodically samples the various thread stack sizes and forces large
enough ones to throw errors.

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.



More information about the Java-patches mailing list