commit | c1ac9ee48ddf483ec770b424d63de4982262ea33 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Jul 24 22:35:49 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Tue Jul 25 11:15:09 2017 -0700 |
tree | f0fe2958793a2eccef85c40ac94d056b046ca7de | |
parent | aed968d130d62d23cfe7f6051ca72c6a84fe1510 [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. Bug: 34193647 Test: m test-art-host Change-Id: I14ef536e37eb19c0dede372ffd68a826c482cf71