basic block reordering + java

Andrew Haley aph@cambridge.redhat.com
Fri Sep 21 07:30:00 GMT 2001


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.

Andrew.



More information about the Java mailing list