py - Pierre Yves Ricau

Results 289 comments of py - Pierre Yves Ricau

I even had a repro project: https://github.com/pyricau/neveridle

here's a rant: https://twitter.com/Piwai/status/1409419331738521603

Note: we probably can't do much to fix this, however we can do a better job of documenting it as a known leak now that I've gathered a lot more...

Looks like that's not working on Android 4.1.2, need to investigate.

Old implementation with HAHA: https://gist.github.com/pyricau/02f6d6c8d0302b196326ca59c5e708cd

``` match (roots: GcRoots) return roots match (activity: Instance) -[:CLASS|SUPER*1..]-> (c:Class {className: "android.app.Activity"}) return activity match (activity: Instance) -[:CLASS|SUPER*1..]-> (c:Class {className: "android.app.Activity"}) where "android.app.Activity.mDestroyed = true" in activity.fields return activity...

#1709 is an interesting experiment, I'll close it as it's nowhere near mergeable.

Alternatively @swankjesse suggested dumping the heap dump into an SQLite database. That's neat because then you can use whatever you like to consume it. The hardest part is going to...

Any thoughts on how to fix this? ie is there anything we can do that doesn't involve reflection? The Google issue says it was fixed in 11, can we confirm?...

yeah that's cool but is it easy enough to write queries / make it interesting? Like I kinda want to write: ``` SELECT initiatorNote FROM app.cash.Payment WHERE createdAt IS NOT...