summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2016-06-01 18:38:43 +0100
committerVladimir Marko <vmarko@google.com>2016-06-03 13:42:46 +0100
commitb089eccf503646e6ed2d5bb20d973d9131166655 (patch)
treed3e9d667bc7d746a0800e95d4ce78918718a9636 /test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java
parent2dc77ecf375882f51ff7c09712c05b80e58abb6b (diff)
Delay dex-to-dex compilation until Optimizing is done.
This fixes a race between inlining in the Optimizing backend and dex-to-dex quickening where the Optimizing can read the non-quickened opcode and then the quickened field index or vtable index and look up the wrong field or method. Even if we such tearing of the dex instruction does not happen, the possible reordering of dex-to-dex and Optimizing compilation makes the final oat file non-deterministic. Also, remove VerificationResults::RemoveVerifiedMethod() as we have only the Optimizing backend now and as such it was dead code and would have interfered with this change. Bug: 29043547 Bug: 29089975 (cherry picked from commit 492a7fa6df3b197a24099a50f5abf624164f3842) Change-Id: I1337b772dc69318393845a790e5f6d38aa3de60f
Diffstat (limited to 'test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java')
0 files changed, 0 insertions, 0 deletions