OSDN Git Service

Print more diagnosis info on to-space invariant violation.
authorHiroshi Yamauchi <yamauchi@google.com>
Sat, 13 Jun 2015 01:35:06 +0000 (18:35 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Tue, 16 Jun 2015 00:09:33 +0000 (17:09 -0700)
commit3f64f25151780fdea3511be62b4fe50775f86541
tree732f9761dce6ef0d4ab6fad18c92137f38248cc5
parent8d73a91d8f4c89ac152d18081b07093f68c56a11
Print more diagnosis info on to-space invariant violation.

Pass the method/field (in GcRootSource) to the read barrier to print
more info when a to-space invariant violation is detected on a
method/field GC root access.

Refactor ConcurrentCopying::AssertToSpaceInvariant().

Bug: 12687968
Bug: 21564728

Change-Id: I3a5fde1f41969349b0fee6cd9217b948d5241a7c
runtime/art_field-inl.h
runtime/art_method-inl.h
runtime/gc/collector/concurrent_copying.cc
runtime/gc/collector/concurrent_copying.h
runtime/gc_root-inl.h
runtime/gc_root.h
runtime/lock_word.h
runtime/read_barrier-inl.h
runtime/read_barrier.h