java exception
Yang Chang
yang@cs.york.ac.uk
Fri Jun 24 17:32:00 GMT 2005
Dear All,
I am trying to understand the GCJ implementation of Java exception
mechanism. Currently, I am aware of that the GCJ compiler uses the return
value of a "gen_reg_rtx(ptr_mode);" (in function "get_exception_pointer")
to represent something which holds a reference to an _Unwind_Exception
struct and such a reference is passed to function _Unwind_RaiseException in
libjava. However, I couldn't figure out how the two things map each other.
I mean, how the _Unwind_RaiseException or some other lower level functions
assign the aforementioned reference to what that rtx represents? and what
that rtx really represents?
Thank you very much!!
yang
More information about the Java
mailing list