DumpAllocStats shouldn't subclass from ResourceObj

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: 18
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: