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

Declare MetaspaceObj::operator delete to be deleted

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: