summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2023-05-16 10:44:27 +0000
committer Mythri Alle <mythria@google.com> 2023-05-17 08:46:02 +0000
commit27ceaaa97324c34ad83f7092bbcc9d268ea6763b (patch)
treeb8829514d83dcc3ce49eb7ea78afaa5dcf703834 /compiler/optimizing/optimizing_compiler.cc
parent062fa89f2efdb6227626724423389494d1438963 (diff)
Encode trace action in the last two bits of method pointer
When recording method entry / exit events we used an entire entry for recording the trace action (method enter / method exit / method unwind) which only requires two bits. This change encodes the trace action in the last two bits of method pointer. Given the alignment requirements of method pointers last two bits are ensured to be 0, so it is safe to use those bits. Bug: 259258187 Test: art/test.py --streaming Change-Id: I854b82f407503085dfa5304813d1d96df9ce27f3
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions