This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
java exception
- From: Yang Chang <yang at cs dot york dot ac dot uk>
- To: java at gcc dot gnu dot org
- Date: Fri, 24 Jun 2005 18:24:02 +0100
- Subject: java exception
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