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

Native Memory Tracking enhancement

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • 7u40, 8, 9
    • hotspot
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: