[Local GC] Ensure that handle creation returns null on failure instead of throwing...
authorSean Gillespie <sean@swgillespie.me>
Mon, 24 Apr 2017 17:44:25 +0000 (10:44 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2017 17:44:25 +0000 (10:44 -0700)
commit69d43a0f8cfe095336b286e7bb892fe49c702e30
treef821902c8b213afd95f953f08ae079ba8a824da6
parent5c8b9a6870a58e0af250ff822ca395e3fd8268bb
[Local GC] Ensure that handle creation returns null on failure instead of throwing (#11092)

* [Local GC] Ensure that handle creation returns null on failure instead of throwing

* Fix some clang pedantry about jumping past variable initialization

* Throw OOM if initialization of handle store fails

* Perform the handle OOM check in each handle helper
src/gc/gchandletable.cpp
src/gc/handletable.cpp
src/gc/handletablecore.cpp
src/gc/handletablescan.cpp
src/gc/objecthandle.cpp
src/vm/appdomain.cpp
src/vm/appdomain.hpp
src/vm/gchandleutilities.h