commit | bb268b14da040c5df27a413426aa2baab602ed15 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Jun 30 15:52:56 2016 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Mon Jul 04 17:44:17 2016 +0100 |
tree | 04e2fbfa54bc278170d361f97781b066b4abe46a | |
parent | d80c5d2368b4455c452e8b4fe2d8511fe1c0430c [diff] |
Clean up Class::FindStaticField(). Previously we have wrapped the class pointer in a Handle for the GetDirectInterface() call but we didn't wrap the DexCache pointer. Since GetDirectInferface() call from this function cannot cause thread suspension anyway, fix the inconsistency by using raw pointers where possible and asserting that no thread suspension takes place. Test: Run standard ART test suite in gcstress mode. Change-Id: Ie4c6101aabd6fa68733e4920db277f835793d943