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

Native Memory Tracking enhancement

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P4
    • Resolution: Duplicate
    • 7u40, 8, 9
    • 9
    • hotspot
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: