History log of /art/tools/ahat/src/InstanceUtils.java
Revision Date Author Comments
40398873dc4d91547c8d130b5641d271301ca700 11-Feb-2016 Richard Uhler <ruhler@google.com> ahat: annotate char[] objects with their string values.

Bug: 26987597
Change-Id: I1b0bf711c642f4b8a7fe56f0cd27496761db4147
(cherry picked from commit c7f7712a3808b8e3046eae8a4dbb7f6a7fc6faf2)
c7f7712a3808b8e3046eae8a4dbb7f6a7fc6faf2 11-Feb-2016 Richard Uhler <ruhler@google.com> ahat: annotate char[] objects with their string values.

Bug: 26987597
Change-Id: I1b0bf711c642f4b8a7fe56f0cd27496761db4147
1a5baaabcdd79997508c91f1d8b1cf8547c9d1cf 21-Dec-2015 Richard Uhler <ruhler@google.com> Show registered native allocations in ahat.

Bug: 23130675
Change-Id: I1d7f41a47a956b30611429b9bd395ec5f9580209
b357730dd691e608f8a3d155330ab3763ce912cf 29-Oct-2015 Richard Uhler <ruhler@google.com> Annotate References with their referent.

Also, don't include annotations in an object's link. That way we can
distinguish between the object link and any links in the annotations.

Change-Id: I3fef3f5b2c343699f527cad9efa7c93a4b35a3a4
77ff54b5055ec55806069c8d026b102df29857b5 31-Aug-2015 Richard Uhler <ruhler@google.com> Limit summary string lengths to 200 characters.

Strings longer than 200 characters are now truncated and are shown
with a trailing "..." instead of an end quote. The number 200 was
chosen arbitrarily.

Bug: 23223379
Change-Id: I96d7c9d563026233ff5f4962245b4c276d776a58
3524472e8f064dbd42e1a35d511a1efe36d2cbf2 11-Sep-2015 Richard Uhler <ruhler@google.com> Generate an hprof file to test ahat.

This change sets up the infrastructure to write test cases for ahat
that make use of an hprof file automatically generated from a sample
program.

Change-Id: Id11f656afb69c96a26655cc4caeb745ad844f431
788b21e81ce4a944766a973dbd38331200da1b4a 31-Aug-2015 Richard Uhler <ruhler@google.com> Pay attention to string offset and count fields.

Strings can be represented as an offset and count inside a larger
character array. Pay attention to the offset and count fields when
getting the string value instead of returning the entire underlying
character array.

Bug: 23223379
Change-Id: Idc95870e33ede90b23deed9489c8c4796107f585
b730b78dac047c6d8ead93ad77605bcb7414f5ce 16-Jul-2015 Richard Uhler <ruhler@google.com> ahat - An android heap dump viewer. Initial checkin.

ahat is an android-aware heap dump viewer based on perflib with a
simple html interface.

Change-Id: I7c18a7603dbbe735f778a95cd047f4f9ec1705ef