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

Tracking malloc pooled memory size

    XMLWordPrintable

Details

    • b11

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: