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

Allow dynamically choosing the MEMFLAGS of a type without ResourceObj

    XMLWordPrintable

Details

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

    Description

      CHeapObj currently requires a template to specify which flags an object should be allocated with. This makes sense for most objects, but not utilities like GrowableArray our outputStream.

      Instead these classes must, unnecessarily, be ResourceObjs.

      Suggest a third way of doing things, without the cost of ResourceObjs (24 bytes of allocated space for each instance, for example).

      Attachments

        Issue Links

          Activity

            People

              jsjolen Johan Sjölen
              jsjolen Johan Sjölen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: