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

DumpAllocStats shouldn't subclass from ResourceObj

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • hotspot
    • b14

      -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

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

              Created:
              Updated:
              Resolved: