OSDN Git Service

Add verification for image ArtMethod declaring classes
authorMathieu Chartier <mathieuc@google.com>
Tue, 8 Mar 2016 00:13:54 +0000 (16:13 -0800)
committerMathieu Chartier <mathieuc@google.com>
Tue, 8 Mar 2016 00:23:06 +0000 (16:23 -0800)
commit03c1dd9858962071bf3f0c988abc39e0e6ed7a1e
tree2f42f40f8d4dfd76d16f4b9a4b53b22eeb200a91
parent462cd2cfa8c5fbb6548419eb8f27b448a12aca11
Add verification for image ArtMethod declaring classes

Try and see if any ArtMethods in the image have declaring classes
that are not marked in the heap live bitmap. Trying to mark these
would cause a SIGSEGV since the bitmap is read only.

TODO: Disable for performance.

Bug: 27493510
Change-Id: I231b07b84d98dcd7ee1557c18956c86264058ee1
runtime/class_linker.cc