[Kaffe] new stack trace patch.
Godmar Back
gback at cs.utah.edu
Sun Feb 7 10:37:25 PST 1999
>
> Well, if it makes all exceptions slower then I would rather just see the
> printStackTrace() print the constructors too. I do not think this feature
> is worth slowing down exception throwing or catching in the case where
> a stack trace is never printed.
>
Agreed. I reversed the patch, especially given that JDK with jit does
the same.
I think it's safe to say code that parses stacktrace will have to be
VM-specific.
About Alex's problem: another possibility to access thread-local
storage without adding locals would be to use java.lang.ThreadLocal.
That's a bit expensive, but it's for debugging only anyway.
- Godmar
More information about the kaffe
mailing list