No subject
Tue Jun 22 17:38:17 PDT 2004
would be rather tricky to implement. What is easy is to set up a
guard zone and take a fault when it's hit. However, Java requires
you to safely recover from a stack overflow via StackOverflowErrors.
This will at least require using an alternate signal stack; plus you
need to have an OS/libc that doesn't freak out when you run and/or
longjmp out of a signal handler with SA_ONSTACK set. It's one of these
things where there is no reason that it shouldn't work, but (at least
my personal) experience indicates that it can be hard and a timesink
to get it working. If you get it working, I'd definitely be happy to
add it.
- Godmar
More information about the kaffe
mailing list