4 ms·
Ask HN: How to profile Android GC
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