basic block reordering + java
Jakub Jelinek
jakub@redhat.com
Fri Sep 21 07:33:00 GMT 2001
On Fri, Sep 21, 2001 at 03:30:09PM +0100, Andrew Haley wrote:
> Anthony Green writes:
> >
> > Also, I find that if the last NullPointerException branch is taken,
> > printStackTrace() will produce incorrect results. You end up seeing the
> > function after this in place of the one calling _Jv_ThrowNullPointerException.
> > Should we be backing up the program counter somewhere? (or emitting a NOP at
> > the very end of each function?)
>
> We use backtrace() from glibc. If it's wrong, this is a glibc bug.
Note that with tail call optimization some routines can be skipped in the
backtrace. I don't know if this is the case here, but I thought I'd mention
this...
Jakub
More information about the Java
mailing list