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

DumpAllocStats shouldn't subclass from ResourceObj

    XMLWordPrintable

    Details

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

      Description

      -class DumpAllocStats : public ResourceObj {
      +class DumpAllocStats {

      This class is never allocated from resource area or C-heap. It's just stack allocated. There's no reason to subclass from ResourceObj

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: