summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-08-15 09:56:57 +0100
committerVladimir Marko <vmarko@google.com>2018-08-15 10:30:11 +0100
commit5c84472ef4ec70867bd76ba6076c264f641cb130 (patch)
treeb00b3930bbbc0efdf2abb1638657b7ee8c06a54b /compiler/common_compiler_test.h
parent9e113dd00d94526d7e6e546ac9bd4f066db3a019 (diff)
ART: Improve test 160-read-barrier-stress.
Add tests for reading references for which we do not hold a to-space reference. Rewrite the test to test fields, arrays, GC roots and Unsafe separately, so that reads in one of the tests do not affect other tests and we exercise more code paths in the Baker read barriers with introspection. Add a regression test for the reverted https://android-review.googlesource.com/729224 which erroneously clobbered r0 on ARM in UnsafeCASObject. Test: testrunner.py --target 160-read-barrier-stress Test: Repeat with the bad CL; fails for ARM, OK for ARM64. Bug: 36141117 Change-Id: I0cbc5f5b9a78865ba7ca14ae166ee19d7cf8dd3f
Diffstat (limited to 'compiler/common_compiler_test.h')
0 files changed, 0 insertions, 0 deletions