OSDN Git Service

Improve READ_BARRIER_MARK_REG for arm32
authorMathieu Chartier <mathieuc@google.com>
Fri, 12 Aug 2016 20:19:44 +0000 (13:19 -0700)
committerMathieu Chartier <mathieuc@google.com>
Sat, 13 Aug 2016 00:10:07 +0000 (17:10 -0700)
commit36c2271ab12a1a74dcaef2593982e1f4b42dffc1
tree13dbb900387cc6b3b12bfe823ab8e1e783ba02b8
parentba1642dec60c053895c259deac429463669ddc9b
Improve READ_BARRIER_MARK_REG for arm32

Use blocked register IP as scratch, avoid pushing in fast path.

Clean up slow path to not have simpler logic and one less memory
write.

Add simple fast path handling for region space TLAB object
allocation.

Test: test-art-target, N6P booting with CC baker

Bug: 30162165

Change-Id: I6594e42d3d6277ffe7bb79df09df8be6bee85eb5
runtime/arch/arm/entrypoints_init_arm.cc
runtime/arch/arm/quick_entrypoints_arm.S
runtime/arch/arm64/entrypoints_init_arm64.cc
runtime/arch/arm64/quick_entrypoints_arm64.S