History log of /art/tools/ahat/src/main/com/android/ahat/Main.java
Revision Date Author Comments
b7732a3fcf06a55075a601dbc593b23a6fc71dbf 16-Nov-2017 Richard Uhler <ruhler@google.com> Add javadoc for all public ahat API.

And tighten up the API a little more.

The only functional change is to replace the Sort.WithPriority class
with a Sort.withPriority function so that the Sort.WithPriority class
can be made private.

Test: m ahat-test
Change-Id: Iba0ac04767a20c9008f209a777294ecaccc64ffc
0a85a95210b3874722a3b36b57fb12307b4b635d 30-Oct-2017 Richard Uhler <ruhler@google.com> Tighten up ahat public API.

And add build rules to make it very explict when the public API changes.

Change-Id: I2319eb2004e87957c5d040d32a109ca09a06a166
Test: m ahat-test
Test: Change public API and verify build complains.
Test: Change non-public API and verify build does not complain.
c81bf0f5515cd2678f3d7126282c42eae9add6c0 12-Oct-2017 Richard Uhler <ruhler@google.com> Give even better error messages on failure to launch ahat.

In particular, explicitly state that a heap dump "does not appear to
be a valid Java heap dump" on HprofFormatException.

Bug: 64318055
Test: m ahat-test
Test: ahat Android.mk
Test: ahat FileThatDoesNotExists.hprof
Test: ahat etc/L.hprof & ahat etc/O.hprof

Change-Id: I014b465e23e48941655bcbb3505cec8fd7965fc9
8cc213436f3d15a44fb86eda04e16e24923a8f4c 10-Oct-2017 Richard Uhler <ruhler@google.com> Reorganize ahat source directory layout.

In particular, use a directory tree that reflects the Java package
tree to facilitate use of IDEs for browsing the ahat source code.

Test: m ahat-test
Change-Id: I00c205df420c2a53b211f7b772dd5b45cedf6ae3