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

Adjust object pinning interface on CollectedHeap

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b10

      Description

      The recent additions to CollectedHeap to support object pinning didn't quite fit the bill for what the Shenandoah folks had in mind. Instead of having CollectedHeap::pin_obejct/unpin_object grab/release the GCLocker when object pinning is not supported, we add a CollectedHeap::supports_obejct_pinning() and let the caller take the appropriate action based on the response.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pliden Per Liden
                Reporter:
                pliden Per Liden
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: