• Home
  • History
  • Annotate
  • only in /art/tools/ahat/src/test/
History log of /art/tools/ahat/src/test/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
88aa6900f62421906af0c3f7a0c245b4f2aef50c 06-Nov-2017 Richard Uhler <ruhler@google.com> Fix bug in proguard deobfuscation of file names.

Configure proguard to preserve stack traces in the test-dump so we can
properly test ahat's deobfuscation of stack traces.

Fix a bug in proguard deobfuscation of file names. Specifically, we
should always compute the file name based on the class associated with a
stack frame, regardless of whether or not the method has been
obfuscated.

Restructure test-dump program to test more cases of stack frame
deobfuscation.

Test: m ahat-test, with expanded proguard deobufscation test.
Change-Id: Idbb564147c6aea6b9c2091612ecf17c01070d5ac
om/android/ahat/ProguardMapTest.java
om/android/ahat/SiteTest.java
1b79bbcdc1c9fee58cec0da6b19afd75d0bb47c9 20-Oct-2017 Richard Uhler <ruhler@google.com> Fix bugs with strong versus weak reference paths.

This fixes a few issues with strong versus weak reference paths:
* It was possible to have a path from gc root with a root in the
middle of the path.
* It was possible to have a path from gc root with a cycle, which
would cause ahat to go into an infinite loop.
* It was still possible to have a path from gc root through weak
references when there existed other paths from gc root only through
strong references.

Bug: 64592321

Test: m ahat-test, with new tests added.
Change-Id: I2d3cc8c5a398aad24d70c3a428bdc3a470ddb3aa
om/android/ahat/InstanceTest.java
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
om/android/ahat/DiffFieldsTest.java
om/android/ahat/DiffTest.java
om/android/ahat/DominatorsTest.java
om/android/ahat/HtmlEscaperTest.java
om/android/ahat/InstanceTest.java
om/android/ahat/NativeAllocationTest.java
om/android/ahat/ObjectHandlerTest.java
om/android/ahat/OverviewHandlerTest.java
om/android/ahat/PerformanceTest.java
om/android/ahat/ProguardMapTest.java
om/android/ahat/QueryTest.java
om/android/ahat/RootedHandlerTest.java
om/android/ahat/SiteHandlerTest.java
om/android/ahat/SiteTest.java
om/android/ahat/TestDump.java
om/android/ahat/TestHandler.java
om/android/ahat/Tests.java