diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-12-13 11:46:28 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-12-13 12:52:41 -0800 |
commit | 36994ba006c18c1933815cc0c4c036df086e6814 (patch) | |
tree | 013dfafba31b6d07f4880873f378475a1ce5975f /test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java | |
parent | 017c55c120a40612364448826692cc7d402eb913 (diff) |
Don't re-read referent in ReferenceProcessor::GetReferent
Re-reading has the issue that it may read a null value after already
having done the null check. Using a cached value prevents this from
happening and causing DCHECK failures.
Added a related stress test.
Bug: 33569625
Bug: 33389022
Test: test-art-host
Change-Id: Ic42d540e035d41ac6e5b01762f9510cd6632b28c
Diffstat (limited to 'test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java')
0 files changed, 0 insertions, 0 deletions