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

ZGC: Remove mode for treating weaks as strong

    XMLWordPrintable

    Details

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

      Description

      In ZGC, the root processor has a mode for supporting treating weaks as strong. This makes no sense to use for a user as it only introduces memory leaks. We have supported it anyway because it was a neat debugging tool while implementing concurrent reference processing. But now it seems like it is time for this option to retire, as it makes the root scanning code unnecessarily complicated and bug prone.

        Attachments

          Activity

            People

            Assignee:
            eosterlund Erik Österlund
            Reporter:
            eosterlund Erik Österlund
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: