Declare MetaspaceObj::operator delete to be deleted

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: hotspot
    • b25

      MetaspaceObj provides an `operator delete` whose definition consists of a call to ShouldNotReachHere(), because it should never be called. It would be better to declare the definition deleted, catching improper usage at compile time rather than waiting for runtime.

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

              Created:
              Updated:
              Resolved: