OSDN Git Service

Add sanity checking to declaring class visiting
authorMathieu Chartier <mathieuc@google.com>
Mon, 21 Mar 2016 21:05:56 +0000 (14:05 -0700)
committerMathieu Chartier <mathieuc@google.com>
Tue, 22 Mar 2016 03:03:06 +0000 (20:03 -0700)
commitb33b1dc78d178060ff0f4327d448fd3a89df51de
treecf316e72981dbc16e5b5748ff6e0beb7ea45e1cb
parent086e279ff9c739da617c9fb50fababf74ed52890
Add sanity checking to declaring class visiting

When we have an unmarked declaring class in the image, it will
SIGSEGV due to the bitmap being read-only. Print some useful
info to try and debug this.

This probably hurts performance a bit, TODO disable when the bug is
fixed.

Bug: 27493510

Change-Id: Ida0c09cb8e41c1c2ff5cd9d07cbf0d34d6802511
runtime/gc/space/image_space.cc
runtime/gc/space/image_space.h
runtime/thread.cc