commit | fc49fa05c51a26ba1b185401cdba95cea1b67b39 | [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 09:35:14 2016 -0700 |
tree | 8f870cb7448434eb733a36060dcf7641977efaa7 | |
parent | 89a48396e0f0482e0ab446a1b2bd3217a51746b1 [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 Change-Id: I22a6121477e409987281bc81c28b6c942f1bd319