summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2020-01-09 10:53:59 -0800
committerAlex Light <allight@google.com>2020-02-11 12:59:25 -0800
commita26e1f2c4637173cf3aa49d7ef0bd2b720478713 (patch)
treef1a93a437ead0d2c934b40c6f6be0a3c271e7af7 /annotations/generate_annotated_java_files.py
parent17b24aef4e056830aca402433b21cd3063777d8f (diff)
Change j.l.r.Field to use ArtField index instead of dexFileIndex
Using the dexFileIndex to determine the ArtField a java.lang.reflect.Field object points to requires us to use a dex-cache and to update all existing Field objects if this index changes (for example due to class redefinition). This could be rather slow. This replaces the dex-file index with the index into the declaring class's SFields/IFields arrays where the specified ArtMethod is stored. Bug: 149236640 Test: ./test.py --host Change-Id: I3598909a770aff317011091f33707773f3928c56
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions