commit | c2f46939d8c046dfc8e954ac1bec6d61b0f061ae | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Mar 05 10:55:55 2021 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Mon Mar 08 09:11:01 2021 +0000 |
tree | 88c88aceadc868f286ef62185fff00fa343d1ffe | |
parent | 62b75587021d432d1522316822e7cafe0beada43 [diff] |
Reduce string allocations in ProfileCompilationInfo. Use std::string_view internally to avoid std::string allocations but keep external ProfileCompilationInfo API unchanged with std::string to avoid object lifetime issues, with the exception of `OfflineProfileMethodInfo` provided to the compiler for AOT compilation. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: boots. Bug: 181943478 Change-Id: If75c3ce16581760773bdaa3e94334c9c567745de