This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

basic block reordering + java


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]