summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-04-17 11:08:23 -0700
committerAndreas Gampe <agampe@google.com>2018-04-23 08:43:40 -0700
commit69944c96d75225c7d7e400296816ad228aacb158 (patch)
tree35ad25de24e59abe74047cf1d80960ee34a9542e /test/ProfileTestMultiDex
parent7f40ae52e9de9badb534969fb116579aee11bb84 (diff)
ART: Properly check for attached thread in CheckJNI
The previous implementation checked too late, as the required ScopedObjectAccess would have already aborted. Instead, preface all necessary functions with an explicit check. Performance should be almost neutral, as the test is only moved earlier, but not duplicated. (cherry picked from commit fb8f75c160f5f38efcb85988c98033650d5649bc) Bug: 78135453 Test: m test-art-host-gtest-jni_internal_test Merged-In: I7b98744e9a3895e84ba9e2661975ce29722076c3 Change-Id: I7b98744e9a3895e84ba9e2661975ce29722076c3
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions