summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
author zhaoxuyang <zhaoxuyang.6@bytedance.com> 2022-01-10 13:58:11 +0800
committer Treehugger Robot <treehugger-gerrit@google.com> 2022-01-10 15:14:11 +0000
commit7156ea283a43a64fed3b38004ee38c86cfcf7817 (patch)
tree408b8532bb8be95577c39c1ee23c30c1141a4304 /compiler/optimizing/nodes.cc
parent295becbfa7366b999f3cb4706a0cee862e9b9224 (diff)
Explicitly indicate whether the code item is obtained from the compact dex file in SetCodeItem()
ArtMethod class will set the code item according to whether the dex file of the class is compact dex, assuming the primary dex has been compiled the dex file it belongs to became compacted, since jvmti only supports use standard dex to update, and the method is updated before the class, this will lead to unpredictable crashes when running the updated method using nterp. So we need to explicitly indicate whether the code item is obtained from the compact dex file when call SetCodeItem(). Test: art/test.py -b --host Change-Id: I7dd4dcada8ad3e0140555836a2afb2d406d06c6c
Diffstat (limited to 'compiler/optimizing/nodes.cc')
0 files changed, 0 insertions, 0 deletions