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

DumpAllocStats shouldn't subclass from ResourceObj

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: