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

Remove unnecessary operator new and delete from ObjectMonitor

    XMLWordPrintable

Details

    • b09

    Backports

      Description

        Since JDK-8253064 moved OMs to C-heap, ObjectMonitor derives from CHeapObj. So we don't need to define local versions of new and delete. This also solves the problem that the local operators overrule the NMT category flag set in CHeapObj (atm both are mtInternal, so the problem is theoretical).

        Attachments

          Issue Links

            Activity

              People

                stuefe Thomas Stuefe
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: