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

Native Memory Tracking enhancement

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7u40, 8, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Introduced In Version:
    • CPU:
      generic
    • OS:
      generic

      Description

      Current Native Memory Tracking implementation does not scale well with large app, especially during class loading phase. There are two major issues:

      1. Book keeping records consume a lot of memory, especially when large app loads a lot of classes that generate a lot of symbols (each symbol is individually malloc'd)

      2. Worker thread may not be able to handle the workload. When that happens, unprocessed book keeping records can consume a large amount of additional memory.

      Due to above problems, Native Memory Tracking system trends to shut itself down when it is needed the most.

      This RFE is intended to fix the scalability issues in original NMT implementation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zgu Zhengyu Gu
                Reporter:
                zgu Zhengyu Gu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: