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]
Other format: [Raw text]

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


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