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

Replace RegisterArrayForGC mechanism with plain Handles

    Details

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

      Description

      JVM_GetStackAccessControlContext collects a bunch of oops in array and then calls into allocating code that might safepoint. To deal with this, the local array is registered and explicitly visited by the GCs. I propose that we get rid of this and use an array of Handles instead.

        Attachments

          Activity

            People

            • Assignee:
              stefank Stefan Karlsson
              Reporter:
              stefank Stefan Karlsson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: