History log of /art/runtime/gc/heap_verification_test.cc
Revision Date Author Comments
e27c2136d7ad56352ecc09505d3a2733671a0431 27-Jun-2017 Mathieu Chartier <mathieuc@google.com> Dump heap reference adjacent memory for logging corruption

The motivation is to get inside into large object arrays that have
heap corruption somewhere in the middle.

Also increased the number of bytes printed to 32 per side instead of
16.

Added test.

Test: test-art-host-gtest-heap_verification_test

Bug: 37187694
Bug: 62889232

(cherry picked from commit b814ef592505f5d52c38537d289f177d1fcedeb7)

Merged-In: I3cc3d148061295328ba4420d13c7ca5c38706281

Change-Id: I55f6a3cf24ea4767152101de2c128fca584c2b1d
b814ef592505f5d52c38537d289f177d1fcedeb7 27-Jun-2017 Mathieu Chartier <mathieuc@google.com> Dump heap reference adjacent memory for logging corruption

The motivation is to get inside into large object arrays that have
heap corruption somewhere in the middle.

Also increased the number of bytes printed to 32 per side instead of
16.

Added test.

Test: test-art-host-gtest-heap_verification_test

Bug: 37187694
Change-Id: I3cc3d148061295328ba4420d13c7ca5c38706281
4f5e3cb690547c0f85c1e6117786048d0348d3c6 12-Jun-2017 Mathieu Chartier <mathieuc@google.com> Add FirstPathFromRootSet and use it to debug reachability issues

Specifically issues where classes aren't pruned in image writer.

Added test.

Test: mm test-art-host-gtest-heap_verification_test -j32

Change-Id: Iea87309aaddf9e28f1856698699a925fb6ab92a1
508fdf3eb53824f109c89f98484927085bdc43ba 06-Jun-2017 Andreas Gampe <agampe@google.com> ART: Small class-inl.h cleanup

Remove unnecessary class_linker-inl.h include, and fix up all
transitives (mainly gc_root-inl.h). Also clean up reference.h.

Test: m test-art-host
Change-Id: I47bd6edcfe4a23821e37a6e6fa8cca91d0d2d226
68dda8f20027661c72c8069831cd1cc1c9d46db8 24-Apr-2017 Mathieu Chartier <mathieuc@google.com> Disable some heap verification test cases for memory tool

These test cases may read from red zones for the memory tool case.

Also split up some of the test cases to minimize how many tests need
to be disabled.

Bug: 37187694
Bug: 12687968

Test: ART_USE_READ_BARRIER=false mm test-art-host-valgrind-gtest -j20
Change-Id: I93958d0d3e42d2d3a2b4a7d2c6aa2e17559cb49c
5e36c2ff6f2454586a70d702fa4f9dac53841e4a 22-Apr-2017 Andreas Gampe <agampe@google.com> ART: Fix missing include

Add required headers.

Bug: 37187694
Test: mmma art
Change-Id: I0f39498453973ed9bfbad97965f2dff215caea98
1ca689096b532e007dc9f8ba16db4731e6afd719 18-Apr-2017 Mathieu Chartier <mathieuc@google.com> More robust GC verification and corruption dumping

Added a test for GC heap corruption dumping, added more info to the
dump like adjacent bytes and card table.

Added heap corruption detection in
ConcurrentCopying::MarkNonMoving().

Bug: 37187694
Bug: 12687968

Test: mm test-art-host-gtest-verification_test -j20

Change-Id: I8c90e45796d0784265aa091b2f8082f0cfb62719