P-Y on Nostr: This morning, focusing on LeakCanary for a bit: I think I've noticed a bug in how ...
This morning, focusing on LeakCanary for a bit:
I think I've noticed a bug in how retained size increase for growing objects is computed in LeakCanary, because I noticed it seems to be 0 sometimes, included in cases where it's a very simple fake heap dump where it shouldn't be 0.
So I look at the tests for retained size.
Oh. No such tests 😬. Shame on me! While I do have tests for the dominator computation code, I don't have integration tests for how that's used in the heap growth code.
I think I've noticed a bug in how retained size increase for growing objects is computed in LeakCanary, because I noticed it seems to be 0 sometimes, included in cases where it's a very simple fake heap dump where it shouldn't be 0.
So I look at the tests for retained size.
Oh. No such tests 😬. Shame on me! While I do have tests for the dominator computation code, I don't have integration tests for how that's used in the heap growth code.