commit | 68457dff061ebc4a5a6bfbe7e154da61bd122f41 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Wed Oct 26 07:18:57 2022 +0000 |
committer | VladimĂr Marko <vmarko@google.com> | Wed Oct 26 10:47:46 2022 +0000 |
tree | 086a93f36c3588ea603cc78c7f66cf003063d723 | |
parent | 52b4f8dca2edc801bc4fab3124ab008c3b5c1198 [diff] |
Clean up `DexCacheData` records earlier. Remove old `DexCacheData` entries while cleaning up class loaders instead of delayed cleanup while registering a new dex file. `ClassLoader`s and `DexCache`s are closely tied together and keep each other alive, so it is logical to clean up their `ClassLinker` records together when unloaing. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 38383823 Change-Id: I170b1675cfefcefb4a4490072fb4aa93abb65015