Instrument code generated by JNI compiler to check the Marking Register.
Generate run-time code in the JNI compiler checking that the
Marking Register's value matches `self.tls32_.is_gc_marking` in
debug mode (on target; and on host with AOT when compiling the
core image). If a check fails, abort.
Test: m test-art-target
Test: m test-art-target with tree built with ART_USE_READ_BARRIER=false
Test: ARM64 device boot test
Test: ARM64 device boot test with libartd.
Bug: 37707231
Change-Id: I6494b5f34a1b43d7b0102c52fd8e4a7c9f32b34f
2 files changed