Ask HN: How to profile Android GC

2 points by cel1ne ↗ HN
Not sure if this is the right place, but I'll ask anyway.

I recently reported bugs ([0], [1]) with Facebook's Fresco and React-Native about how their usage of Object.finalize() in critical places hurts GC-performance on Android/Java.

I was asked to to show how getting rid Object.finalize() actually improves performance and memory-use. Apart from a simplistic profile [2], I don't really know how to show something like that.

I'm still convinced it would be good if this got fixed.

[0] https://github.com/facebook/fresco/issues/1363 [1] https://github.com/facebook/react-native/issues/8780 [2] https://github.com/facebook/react-native/issues/8780#issuecomment-243705273

0 comments

[ 2.8 ms ] story [ 28.3 ms ] thread

No comments yet.