Make OopHandle constructor explicit

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: hotspot
    • b27

        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.

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

                Created:
                Updated:
                Resolved: