OSDN Git Service

More code for the read barrier support.
authorHiroshi Yamauchi <yamauchi@google.com>
Tue, 22 Apr 2014 20:51:07 +0000 (13:51 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Tue, 22 Apr 2014 21:26:21 +0000 (14:26 -0700)
commit9103c86a98524e9ddfd14f8cee56e919f68eee9b
tree69e64a2f618e10bb8f060cf7fb70c8e94dc43b50
parentf7933e7f295bfe61cb0baf89469581c563032e96
More code for the read barrier support.

Make it possible to disable the RB in Object::SizeOf() (and the
functions it calls transitively) which the collector will need to call
to get the size of an object when copying.

Add Object::AtomicSetReadBarrierPointer() for atomic write of a RB
pointer.

Bug: 12687968
Change-Id: Ibedd252860ac7ccd17e4e7d71b377a8892b48ff0
runtime/mirror/array-inl.h
runtime/mirror/array.h
runtime/mirror/art_method.h
runtime/mirror/class-inl.h
runtime/mirror/class.cc
runtime/mirror/class.h
runtime/mirror/object-inl.h
runtime/mirror/object.h