Minor optimizations in ExceptionCounterLib
authorGiuseppe Ottaviano <ott@fb.com>
Wed, 10 Feb 2016 20:17:35 +0000 (12:17 -0800)
committerfacebook-github-bot-0 <folly-bot@fb.com>
Wed, 10 Feb 2016 21:20:26 +0000 (13:20 -0800)
commit8cf8897eadddd931a4fb7dce0686cb4274ecbfa2
tree3f9acc99623ca67e752bf26000723dedb92f9c5e
parentd7c3a477457e2a0506de1e9c44cd9e8cca4a45d1
Minor optimizations in ExceptionCounterLib

Summary: Avoid allocation and logging inside the throw handler, and some other minor tweaks.

Reviewed By: bort, luciang

Differential Revision: D2921073

fb-gh-sync-id: 4491ab2f85a4251e59ba9394bba5abef0bdf7a10
shipit-source-id: 4491ab2f85a4251e59ba9394bba5abef0bdf7a10
folly/experimental/exception_tracer/ExceptionCounterLib.cpp