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

NMT might report incorrect numbers for Compiler area

    Details

    • Subcomponent:
    • Resolved In Build:
      b24

      Description

      Here is the example of NMT output produced by stress test:
      22898:

      Native Memory Tracking:

      Total: reserved=34226313KB, committed=14753353KB
      - Java Heap (reserved=31424512KB, committed=13914112KB)
                                  (mmap: reserved=31424512KB, committed=13914112KB)
       
      - Class (reserved=1096992KB, committed=52560KB)
                                  (classes #5901)
                                  ( instance classes #5381, array classes #520)
                                  (malloc=1312KB #24829)
                                  (mmap: reserved=1095680KB, committed=51248KB)
                                  ( Metadata: )
                                  ( reserved=47104KB, committed=46256KB)
                                  ( used=42088KB)
                                  ( free=4168KB)
                                  ( waste=0KB =0.00%)
                                  ( Class space:)
                                  ( reserved=1048576KB, committed=4992KB)
                                  ( used=3792KB)
                                  ( free=1200KB)
                                  ( waste=0KB =0.00%)
       
      - Thread (reserved=139697KB, committed=7857KB)
                                  (thread #135)
                                  (stack: reserved=138620KB, committed=6780KB)
                                  (malloc=461KB #717)
                                  (arena=616KB #268)
       
      - Code (reserved=251302KB, committed=114814KB)
                                  (malloc=3618KB #9735)
                                  (mmap: reserved=247684KB, committed=111196KB)
       
      - GC (reserved=1275090KB, committed=625290KB)
                                  (malloc=76178KB #46284)
                                  (mmap: reserved=1198912KB, committed=549112KB)
       
      - Compiler (reserved=18014398509481980KB, committed=18014398509481980KB)
                                  (malloc=323KB #1073)
                                  (arena=18014398509481657KB #5)
       
      - Internal (reserved=13309KB, committed=13309KB)
                                  (malloc=13269KB #9562)
                                  (mmap: reserved=40KB, committed=40KB)
       
      - Other (reserved=170KB, committed=170KB)
                                  (malloc=170KB #18)
       
      - Symbol (reserved=8044KB, committed=8044KB)
                                  (malloc=4968KB #31063)
                                  (arena=3077KB #1)
       
      - Native Memory Tracking (reserved=2749KB, committed=2749KB)
                                  (malloc=626KB #8879)
                                  (tracking overhead=2123KB)
       
      - Arena Chunk (reserved=257KB, committed=257KB)
                                  (malloc=257KB)
       
      - Tracing (reserved=13813KB, committed=13813KB)
                                  (malloc=13813KB #258)
       
      - Logging (reserved=6KB, committed=6KB)
                                  (malloc=6KB #237)
       
      - Arguments (reserved=19KB, committed=19KB)
                                  (malloc=19KB #483)
       
      - Module (reserved=358KB, committed=358KB)
                                  (malloc=358KB #2329)
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zgu Zhengyu Gu
                Reporter:
                lmesnik Leonid Mesnik
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: