[LLVMdev] Getting exceptions to work?

Owen Anderson resistor at mac.com
Tue May 19 18:06:52 PDT 2009


On May 19, 2009, at 2:48 PM, Talin wrote:

> On Tue, May 19, 2009 at 9:45 AM, Nicolas Geoffray
> <nicolas.geoffray at lip6.fr> wrote:
>> Talin wrote:
>>
>> Yes, that's what VMKit used to do, until it realized dwarf exceptions
>> should never be used for something like Java :)
>
> Can you elaborate on that last point a bit? What problems did you  
> run into?

DWARF exceptions (aka zero-cost exceptions) are optimized to be  
efficient when no exceptions are thrown.  They're not efficient at all  
when exceptions are thrown, so they tend to be a poor match for  
languages like Java where exceptions are relatively common.

--Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090519/7a8451d6/attachment.bin>


More information about the llvm-dev mailing list