What is Nostr?
P-Y /
npub19ww…g5sa
2024-05-16 16:16:23

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.
Author Public Key
npub19wwxc29uufy6rmegf9aza3hkcqdu00s8yyfyhr88mglptysgp3tsz7g5sa