RFR: JDK-8318636: Add jcmd to print annotated process memory map [v6]

Thomas Stuefe stuefe at openjdk.org
Thu Nov 2 12:35:06 UTC 2023


On Wed, 1 Nov 2023 10:46:21 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> Yes, it resulted in a significant performance gain for a test run where I interleaved non-committed and committed memory of the same tag. I may have been mistaken, of course.
>
> It being committed or reserved shouldn't matter (I assume non-committed = reserved), as committed just means that there's a pointer to the committed memory region in the reserved memory region. Well, all I can say is that I'm surprised.

They differ by permissions. I guess NMT keeps them separate for that reason. In any case, the code snippet makes a huge difference.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16301#discussion_r1380031435


More information about the serviceability-dev mailing list