documentation on "sjlj exceptions", DWARF2, etc?

Per Bothner per@bothner.com
Tue Dec 11 21:15:00 GMT 2001


Bryce McKinlay wrote:

> Adam Megacz wrote:
> 
>> 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?

Tradionally, setjmp is a function written in assembler that saves
all the registers (or at least all the callee-save ones) in the jmpbuf.
More sophisticated ones are aware of setjmp - but I believe they
still have to call a function on most platforms.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



More information about the Java mailing list