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

NMT report should state how many callsites had been skipped

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b19

      Description

      (This is a breakout from JDK-8261238, which seems to be stuck in review limbo (https://github.com/openjdk/jdk/pull/2428). In order to make that one more concise, I factor out the display changes, which hopefully are non-controversial enough to get upstream easily.)

      NMT silently omits call sites in its report whose allocation rate is too small to get over a certain, hidden, threshold:
      - there is a hard wired threshold of 1K in the baseline collector
      - then, we skip all sites whose size is less than what the unit is (eg scale=G, we skip all allocations < 1G

      NMT should state how many call sites had been omitted.


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: