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]

Re: documentation on "sjlj exceptions", DWARF2, etc?



Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> so basically setjmp() is called where each try{} block is entered

Okay, so I'm trying to assess the performance implications here. My
code enters lots of try blocks but almost never throws exceptions
during normal operation.

Is setjmp() an actuall function call, or syntactic sugar for some
platform-specific opcode? If the former is the case, does it get
inlined?

Adding an extra few instructions for each try{} entry is no big deal;
paying a function invocation and return for each one might be a bit
irritating.

  - a


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