diff options
author | Alex Light <allight@google.com> | 2018-06-11 13:28:17 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2018-06-11 22:47:56 +0000 |
commit | 41349055f9f7bbe86a93ef59343525731a0b2e1a (patch) | |
tree | 1486e5ddfafacb6533370333d77365ab62a7d43f /test/MultiDex | |
parent | a316f9129a698ccb995b035f8781f93c58981893 (diff) |
Make ti-stress work on RI
In some cases the RI will send JVMTI agents events with some of the
required reference arguments null. This could cause the ti-stress
agent to crash. Fix this by explicitly null checking before calling
DeleteLocalRef.
Test: java -agentpath:$ANDROID_HOST_OUT/nativetest64/libtistress.so=jvmti-stress,trace \
HelloWorld
Change-Id: I29f4144e2e773253b76f5fa8b38d57ae1deab03b
Diffstat (limited to 'test/MultiDex')
0 files changed, 0 insertions, 0 deletions