commit | 0615dd9138d273567da6cca17176bdf560377418 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Wed Dec 02 12:30:21 2020 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Thu Dec 10 17:01:19 2020 +0000 |
tree | fb4f5c025b488efc35177b7d55c62de83d27b232 | |
parent | d259ffb453b04b6b8e0c48daf6dd6554ec80ee97 [diff] |
arm: Better document memory barriers for Unsafe/VarHandle. Defer to the codegen for the memory barriers instead of explicit calls to assembler to emit the DMB instruction. This use of MemBarrierKind allows us to better express the required ordering even though codegen then generates the same code anyway. Test: testrunner.py --target --32 --optimizing Bug: 71781600 Change-Id: I80cd8a6040b9f58ade4aa2adc9f98cfdfbdc758e