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

Obsolete comment about MemRegion allocation

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      The comment describing MemRegion talks about heap allocation in a few cases, with operator new and operator new[] provided by the class for those special cases. Those operators were removed by JDK-8238999, with the array case replaced by static member functions create_array and destroy_array. (There were no uses of individual heap allocated MemRegion objects.) The class description was not updated, and should be.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kbarrett Kim Barrett
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: