RFR: 8320370: NMT: Change MallocMemorySnapshot to simplify code. [v2]

Johan Sjölen jsjolen at openjdk.org
Tue Nov 21 09:37:07 UTC 2023


On Mon, 20 Nov 2023 17:46:13 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

> Nice clean up!
> 
> Just one question: I'm probably missing something here, but did we have to change from `ResourceObj` to `AnyObj` for this change to work?

Hi Gerard, no I think it is unnecessary to do this change to make it work (I haven't checked). I do think keeping it as `AnyObj` is a good idea however, as `MallocMemorySnapshot` is never resource allocated.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16724#issuecomment-1820552096


More information about the hotspot-runtime-dev mailing list