Re: Implementation of C++ exceptions ?

davis@ilog.ilog.fr (Harley Davis)
Mon, 11 Apr 1994 12:38:09 GMT

          From comp.compilers

Related articles
Implementation of C++ exceptions ? mmc@wagner.imada.ou.dk (1994-04-05)
Re: Implementation of C++ exceptions ? vinoski@srv.ch.apollo.hp.com (Steve Vinoski) (1994-04-05)
Re: Implementation of C++ exceptions ? mw@ipx2.rz.uni-mannheim.de (1994-04-05)
Re: Implementation of C++ exceptions ? chase@Think.COM (1994-04-05)
Re: Implementation of C++ exceptions ? schmidt@tango.ICS.UCI.EDU (Douglas C. Schmidt) (1994-04-06)
Re: Implementation of C++ exceptions ? mmc@wagner.imada.ou.dk (1994-04-07)
Implementation of C++ exceptions ? ssimmons@convex.com (1994-04-08)
Re: Implementation of C++ exceptions ? davis@ilog.ilog.fr (1994-04-11)
Re: Implementation of C++ exceptions ? chase@Think.COM (1994-04-11)
Re: Implementation of C++ exceptions ? sean@PICARD.TAMU.EDU (1994-04-12)
| List of all articles for this month |

Newsgroups: comp.compilers
From: davis@ilog.ilog.fr (Harley Davis)
Keywords: C++, performance, design
Organization: Ilog SA, Gentilly, France
References: 94-04-019 94-04-053
Date: Mon, 11 Apr 1994 12:38:09 GMT

ssimmons@convex.com (Steve Simmons) writes:


      OK... I am going to take a couple of WAGs. First, exception
      handlers are defined to be active over a region of code (like
      PC=100 to PC=200). When an exception is raised within that region
      or code called within that region, the exception handler must be
      invoked....


      The only real bad costs for exception handling is that you cannot do many
      global/loop/interprocedural optimizations across the boundary of an
      exception region. Usually, that is not a big loss...


I thought the cost of exception handling in C++ was the need to stack
up the code which calls the destructors of automatic variables in all
active blocks when unwinding to the handler. I couldn't figure out if
David Chase's description eliminated this cost.


-- Harley Davis
------------------------------------------------------------------------------
nom: Harley Davis ILOG S.A.
net: davis@ilog.fr 2 Avenue Gallie'ni, BP 85
tel: (33 1) 46 63 66 66 94253 Gentilly Cedex, France
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.