-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Feature request
Please include the following information:
Is your feature request related to a problem? Please describe.
Currently, NMT only includes malloc tracking. Unlike OpenJDK, virtual memory tracking is missing.
Describe the solution you'd like.
Add virtual memory accounting code to the native memory tracking infrastructure. It should be mostly similar VirtualMemoryTracker in Hotspot. Virtual memory tracking should record committed and reserved memory. The records should be grouped by memory category (Java heap, Image heap, etc) similar to the malloc tracking. Virtual memory data should be reported in the same way as malloc information.
Describe who do you think will benefit the most.
Users and developers will benefit from more complete NMT information.
Describe alternatives you've considered.
There isn't a clear alternative way to get insights into committed/reserved memory. This information is currently not recorded anywhere.
Express whether you'd like to help contributing this feature
I can help with this.