Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swiching to HAHA 2.0.2 / Perflib #219

Merged
merged 1 commit into from
Jul 22, 2015
Merged

Swiching to HAHA 2.0.2 / Perflib #219

merged 1 commit into from
Jul 22, 2015

Conversation

pyricau
Copy link
Member

@pyricau pyricau commented Jul 19, 2015

  • Switched to HAHA 2.0.2 which is based on perflib instead of MAT
  • AnalysisResult.failure is now a Throwable instead of an Exception. Main goal is to catch and correctly report OOMs while parsing.
  • Added ARRAY_ENTRY to LeakTraceElement.Type for references through array entries.
  • Huge speed improvements when performing the shortest path with excluded references: it's now tailored to our needs instead of doing it on a loop.
  • Renamed ExcludedRefs fields.
  • Each ExcludedRef entry can now be ignored entirely or "kept only if no other path".
  • Added support for ignoring all fields (static and non static) for a given class.
  • Improved the heap dump analyzer test and added a heap dump for M Preview 2.
  • Bumped version to 1.4-SNAPSHOT because this breaks the APIs.
  • Implement shortest path algorithms
  • Publish HAHA 2.0
  • Figure out why we need 50Mb of heap to parse a heapdump on M => OutOfMemoryError: lower memory usage for M heap dumps #223
  • Fix unit tests
  • Revert to String UUIDs
  • Clean the changeset

* Switched to HAHA 2.0.2 which is based on perflib instead of MAT
* AnalysisResult.failure is now a `Throwable` instead of an `Exception`. Main goal is to catch and correctly report OOMs while parsing.
* Added ARRAY_ENTRY to LeakTraceElement.Type for references through array entries.
* Huge speed improvements when performing the shortest path with excluded references: it's now tailored to our needs instead of doing it on a loop.
* Renamed `ExcludedRefs` fields.
* Each `ExcludedRef` entry can now be ignored entirely or "kept only if no other path".
* Added support for ignoring all fields (static and non static) for a given class.
* Improved the heap dump analyzer test and added a heap dump for M Preview 2.
* Bumped version to 1.4-SNAPSHOT because this breaks the APIs.
pyricau added a commit that referenced this pull request Jul 22, 2015
Swiching to HAHA 2.0.2 / Perflib
@pyricau pyricau merged commit 6c0bee2 into master Jul 22, 2015
@pyricau pyricau deleted the py/perflib branch July 22, 2015 14:45
This was referenced Aug 6, 2015
@CameronMichael
Copy link

Do you know when this fix will be in a release?

@abhikmitra
Copy link

+1. Have the same question. Without this fix , its almost unusable on Android M

@OlegKrikun
Copy link

+1

@dkadrikj
Copy link

Also here, official Android 6 the bug is present

@zourb
Copy link

zourb commented Nov 27, 2015

+1,
SnapshotFactoryImpl_Error_NoParserRegistered
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'

Nexus 5,
Android 6.0

@pyricau pyricau added this to the 1.4 milestone Jan 4, 2016
Yky pushed a commit to Yky/leakcanary that referenced this pull request Feb 21, 2016
Swiching to HAHA 2.0.2 / Perflib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants