diff options
author | 2017-05-11 14:04:03 +0100 | |
---|---|---|
committer | 2017-07-11 17:43:27 +0100 | |
commit | 97c46466aea25ab63a99b3d1afc558f0d9f55abb (patch) | |
tree | afd225f51d28a77329bc2590a025400e088f260c /runtime/arch/quick_alloc_entrypoints.S | |
parent | 00cca3a275562d110a8b35094b9b12fac37f67ab (diff) |
Introduce a Marking Register in ARM64 code generation.
When generating code for ARM64, maintain the status of
Thread::Current()->GetIsGcMarking() in register X20,
dubbed MR (Marking Register), and check the value of that
register (instead of loading and checking a read barrier
marking entrypoint) in read barriers.
Test: m test-art-target
Test: m test-art-target with tree built with ART_USE_READ_BARRIER=false
Test: ARM64 device boot test
Bug: 37707231
Change-Id: Ibe9bc5c99a2176b0a0476e9e9ad7fcc9f745017b
Diffstat (limited to 'runtime/arch/quick_alloc_entrypoints.S')
-rw-r--r-- | runtime/arch/quick_alloc_entrypoints.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/arch/quick_alloc_entrypoints.S b/runtime/arch/quick_alloc_entrypoints.S index 2b3525b189..fbfa7564a7 100644 --- a/runtime/arch/quick_alloc_entrypoints.S +++ b/runtime/arch/quick_alloc_entrypoints.S @@ -53,7 +53,7 @@ GENERATE_ALLOC_ENTRYPOINTS _region_tlab_instrumented, RegionTLABInstrumented .endm // Generate the allocation entrypoints for each allocator. This is used as an alternative to -// GNERATE_ALL_ALLOC_ENTRYPOINTS for selectively implementing allocation fast paths in +// GENERATE_ALL_ALLOC_ENTRYPOINTS for selectively implementing allocation fast paths in // hand-written assembly. #define GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_RESOLVED(c_suffix, cxx_suffix) \ ONE_ARG_DOWNCALL art_quick_alloc_object_resolved ## c_suffix, artAllocObjectFromCodeResolved ## cxx_suffix, RETURN_IF_RESULT_IS_NON_ZERO_OR_DELIVER |