diff options
author | 2018-06-11 13:28:17 -0700 | |
---|---|---|
committer | 2018-06-11 22:47:56 +0000 | |
commit | 41349055f9f7bbe86a93ef59343525731a0b2e1a (patch) | |
tree | 1486e5ddfafacb6533370333d77365ab62a7d43f /compiler/optimizing/code_generator.cc | |
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 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions