summaryrefslogtreecommitdiff
path: root/runtime/entrypoints/entrypoint_utils-inl.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2021-11-29 14:08:37 +0000
committer Vladimir Marko <vmarko@google.com> 2021-11-30 09:21:08 +0000
commit254a858ef4f65728f636443b8f9ca3e84310308b (patch)
treeea26873f834f6f677b83e05ff035c803c931b3c3 /runtime/entrypoints/entrypoint_utils-inl.h
parent8a608fab3f7479db4b21e7ad13b8f69c21658d32 (diff)
Make suspend check test specific flags.
Make 20 bits in `Thread.tls32_.state_and_flags` available for new uses. Code size changes per suspend check: - x86/x86-64: +3B (CMP r/m32, imm8 -> TST r/m32, imm32) - arm: none (CMP -> TST, both 32-bit with high register) - arm64: +4B (CBNZ/CBZ -> TST+BNE/BEQ) Note: Using implicit suspend checks on arm64 would sidestep this code size increase entirely. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: run-gtests.sh Test: testrunner.py --target --optimizing Bug: 172332525 Change-Id: If5b0be0183efba3f397596b22e03a8b7afb87f85
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils-inl.h')
0 files changed, 0 insertions, 0 deletions