summaryrefslogtreecommitdiff
path: root/runtime/class_table-inl.h
diff options
context:
space:
mode:
author Lokesh Gidra <lokeshgidra@google.com> 2023-09-25 22:38:12 +0000
committer Lokesh Gidra <lokeshgidra@google.com> 2023-10-17 15:52:15 +0000
commit98e883dbc17c40dd95eea01e5014bb2cacec4cca (patch)
tree2ed25e38176fe9bc85857f1cc15f22f01483a6c7 /runtime/class_table-inl.h
parent97a6f7cd191cde0abaaf6323ae2f67d8e42a1236 (diff)
Use cached values for moving-space avoiding dependent loads
For a given reference, GC needs to identify if it belongs to moving space or not. This is done for every reference on the heap and therefore is performance critical. This CL uses cached values for the moving-space range which would hopefully help the compiler optimize the checks. Bug: 160737021 Test: manual Change-Id: I384fd5dd0da45fb4e7556647e0a64524188ee3c4
Diffstat (limited to 'runtime/class_table-inl.h')
0 files changed, 0 insertions, 0 deletions