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

Make OopHandle constructor explicit

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • hotspot
    • b27

    Backports

      Description

        OopHandle needs to control where the oop* that creates an OopHandle comes from. It must come from OopStorage. The implicit constructor risks code creating an OopHandle to use an oop* that is not in OopStorage. Freeing such an OopHandle would crash or be a hard to find bug.

        Attachments

          Issue Links

            Activity

              People

                coleenp Coleen Phillimore
                coleenp Coleen Phillimore
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: