commit | 53954b9ae06a6f140917b530e1df10bbddc8425f | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Apr 21 12:21:55 2016 -0700 |
committer | Andreas Gampe <agampe@google.com> | Fri Apr 22 11:38:21 2016 -0700 |
tree | a219e2b377ab4abc3e1bb3a402041aa6b11ac8a3 | |
parent | 4f4a6c47ef269c68bc136f0805e5e99512d970b7 [diff] |
ART: Slightly change InitializeClass flow Since 884f3b83ed6b2a378535ac6b2be57d6b2e22de09, verification isn't run completely under a class' lock. This means it is possible to race from unverified to initialized in InitializeClass. So check the class state after VerifyClass, and handle new success and failure cases. Bug: 28254258 (cherry picked from commit fc49fa05c51a26ba1b185401cdba95cea1b67b39) Change-Id: I22a6121477e409987281bc81c28b6c942f1bd319