commit | 55e6b552af6aa34439cb0699db5ddf08c437719b | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Jul 24 22:35:49 2017 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Sat Jul 29 20:09:34 2017 +0000 |
tree | 0d12b8d9d3d7dbc5fb77e6718caff20ef5ac111b | |
parent | 29103d6bb966809e0aa61ceee749eee0dd764392 [diff] |
ART: Move CHA to ClassLinker Move the ClassHierarchyAnalysis singleton to ClassLinker. Hierarchy analysis is a link-time effort and belongs to class-loading instead of the global Runtime object. Also clean up to use a unique_ptr, and add null checks to allow bypassing the analysis. (cherry-picked from commit c1ac9ee48ddf483ec770b424d63de4982262ea33) Bug: 34193647 Bug: 63467744 Test: m test-art-host Change-Id: I14ef536e37eb19c0dede372ffd68a826c482cf71