commit | 87525601096731d08e399a9ca922ac84a6ab9583 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Tue Oct 11 12:04:09 2022 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Tue Oct 11 14:07:49 2022 +0000 |
tree | 69a5f77fb14645629b49d3598efafb3213160c8a | |
parent | 787e6410e292965d53ae2e6041e8fcf82dbce526 [diff] |
Avoid dangling pointers in DexCache in jvmti redefinition. It could be dangerous to have a DexCache holding a dangling dex file. So just clear it if we know the dex file is going to be deleted. Test: test.py Change-Id: I115a733d7035778fb9cf6c34cdbb3f5889bfd735