diff options
author | Vladimir Marko <vmarko@google.com> | 2020-02-10 12:29:13 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2020-02-10 15:48:15 +0000 |
commit | 5c33d35bf3bd0d824e94784312fe3ddb823028d1 (patch) | |
tree | a6056e5f6a9009da93355dd00fd73caf66f1f6fc /compiler/optimizing/codegen_test_utils.h | |
parent | b5a78564d66c903c0073e429d71241be60f51bdf (diff) |
Reinstate exception check in GenericJni stubs.
The error check was erroneously removed in
https://android-review.googlesource.com/1178884
where we removed the native method lookup from the
artQuickGenericJniTrampoline(). As the locking is now the
only remaining operation that can fail, update the comment
for the check. Regression test would be rather difficult to
add as we would need to force OOME during lock inflation.
Also clean up unlocking code in GenericJniMethodEnd().
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Test: aosp_taimen-userdebug boots.
Bug: 112189621
Change-Id: I598d5f86a58c0b6171f0b2528504aba495f1b6d8
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions