Sciweavers

SIGPLAN
1998

Optimizing Away C++ Exception Handling

13 years 4 months ago
Optimizing Away C++ Exception Handling
A high performance implementation of C++ exception handling is crucial, because exception handling overhead is distributed across all code. The commonly-used table-driven approach to implementing exception handling can be augmented by an optimization that seeks to identify functions for which (contrary to first appearance) no exception handling tables need be generated at all. This optimization produces modest but useful gains on some existing C++ code, but produces very significant size and speed gains on code that uses empty exception specifications, avoiding otherwise serious performance losses. Keywords C++, exception handling, compiler, optimization, benchmarks.
Jonathan L. Schilling
Added 23 Dec 2010
Updated 23 Dec 2010
Type Journal
Year 1998
Where SIGPLAN
Authors Jonathan L. Schilling
Comments (0)