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

OopStorage should derive from CHeapObjBase

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • None
    • gc
    • b19

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: