commit | 521644beb8f0a100b08a4cfb91c6aafb469925aa | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Sat Mar 21 13:17:52 2020 +0000 |
committer | David Srbecky <dsrbecky@google.com> | Mon Mar 23 15:19:32 2020 +0000 |
tree | b316373d4708d8653e6749d5b3a70f4263cf6f94 | |
parent | 7bbbe25f37ae70bebd121e0b4ea9bd53842281fe [diff] |
Call JitCodeCache::FreeAllMethodHeaders under JIT lock. This ensures that both ArtMethods and the code are removed from the JIT atomically (otherwise other thread can interfere). I am not sure if this is partial issue, but keeping the allocated code and methods in sync makes sanity check happier. Bug: 151137723 Test: test.py -b -r --host --jit --64 Change-Id: I8580a9112c86b277631c0b2f9dd245fd55a73559