diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2016-02-17 09:49:19 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2016-02-17 09:51:16 +0000 |
commit | a9b91313cee629d81d4784798d03419fc7fa9e11 (patch) | |
tree | 0ee693fc2bfd64d72ab0e510de1167cdd879495f /compiler/optimizing/graph_visualizer.cc | |
parent | 7eca244e79480f2ecea341598524a53273959c2b (diff) |
We also need to delete osr entries when deleting ArtMethod.
In the unfortunate event an ArtMethod gets allocated at the
same location as an old (deleted) ArtMethod, the osr_code_map_
lookup will succeed and return garbage. So we need to delete
entries in the osr_code_map_ when an ArtMethod gets deleted.
This should finally fix:
dalvik.system.DexClassLoaderTest#test_twoJar_diff_getResourceAsStream
Change-Id: I7c8b775c3376a6cfcb907f09b783e393967ad82d
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions