Handler Cloning for Optimizing Exception Handling

Handler cloning is a technique for optimizing exception handling. For a specific exception handler catching and rethrowing multiple classes of exceptions, it creates a clone of the original handler and registers the clone as a handler that catches only a single class or subset of the classes for the original handler. The rethrown exceptions from the clone are determined at the compile time.

By: Takeshi Ogasawara

Published in: RT0529 in 2015

LIMITED DISTRIBUTION NOTICE:

This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.

RT0529.pdf

Questions about this service can be mailed to reports@us.ibm.com .