Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8301749

Tracking malloc pooled memory size

XMLWordPrintable

    • b11

      Memory not allocated via NMT and uncommitted memory contributes to a discrepancy between NMT and RSS.
      It can be hard to distinguish between these cases.
      If the VM can determine the amount of pooled memory by malloc it would help with both determining if a trim_native_memory is needed, or there are some allocations happening outside of NMT.

      It would be good if the VM can summarize the malloc pooled memory by using e.g. malloc_info(3).

      We can thus more precise account for RSS value.

            jsjolen Johan Sjölen
            rehn Robbin Ehn
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: