OSDN Git Service

Prevent exception bugs in class linker
authorMathieu Chartier <mathieuc@google.com>
Wed, 27 Aug 2014 22:28:28 +0000 (15:28 -0700)
committerMathieu Chartier <mathieuc@google.com>
Thu, 28 Aug 2014 17:56:37 +0000 (10:56 -0700)
commit58c016c3f85d6d5496cea25325778de3a8d9a3ac
tree6c5b2760900b87970fe8ffc7d2b7ee1160b3521b
parentcd7a048cfac23e6ec3e1ba3ab4c1dddb322eaadf
Prevent exception bugs in class linker

There were some places that could throw exceptions but still succeed.
This caused the allocation entrypoints to occasionally allocate a
heap object with a pending exception.
Also added some additional AssertNoExceptionPending.

Bug: 17164348

Change-Id: Ic6dd3b0cce9955349176503dd7f6c3da7ab0a6f1
runtime/class_linker.cc
runtime/entrypoints/entrypoint_utils-inl.h