OopStorage should derive from CHeapObjBase

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • None
    • gc
    • b19

      OopStorage provides `operator new` taking a MEMFLAGS argument, so the allocation of the storage object can be specified according to the owning subsystem. This goes along with the MEMFLAGS constructor argument.

      Now that we have CHeapObjBase we can make OopStorage derived from it to provide the `operator new` with MEMFLAGS argument.

      That derivation will also provide an appropriate `operator delete`; the `operator delete` with MEMFLAGS argument currently defined by OopStorage is a mistake.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: