commit | 41349055f9f7bbe86a93ef59343525731a0b2e1a | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Mon Jun 11 13:28:17 2018 -0700 |
committer | Alex Light <allight@google.com> | Mon Jun 11 22:47:56 2018 +0000 |
tree | 1486e5ddfafacb6533370333d77365ab62a7d43f | |
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