OSDN Git Service

x86-64 Baker's read barrier fast path implementation.
authorRoland Levillain <rpl@google.com>
Tue, 15 Dec 2015 10:54:19 +0000 (10:54 +0000)
committerRoland Levillain <rpl@google.com>
Tue, 15 Dec 2015 11:45:56 +0000 (11:45 +0000)
commit1e7f8db01a929ac816ca122868edc067c3c6cd17
tree1ac7e8a555eb22b0c716c72bf0c3bee29a12b752
parent7c1559a06041c9c299d5ab514d54b2102f204a84
x86-64 Baker's read barrier fast path implementation.

Introduce an x86-64 fast path implementation in Optimizing
for Baker's read barriers (for both heap reference loads and
GC root loads).  The marking phase of the read barrier is
performed by a slow path, invoking the runtime entry point
artReadBarrierMark.

Other read barrier algorithms continue to use the original
slow path based implementation, which has been renamed as
GenerateReadBarrierSlow/GenerateReadBarrierForRootSlow.

Bug: 12687968
Change-Id: I9329293ddca7f9bcb512132bde6675aa202b98b2
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/code_generator_x86_64.h
compiler/optimizing/intrinsics_x86_64.cc