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

Shenandoah: Trigger weak-LRB even when heap is stable

    XMLWordPrintable

Details

    • gc
    • b14
    • generic
    • generic

    Description

      We currently guard all LRBs, including weak-LRB, by a test for heap-stable and only enter the LRB when heap is unstable (e.g. evacuation or update-refs in progress). However, the weak LRB must also be entered when heap is stable and concurrent refs is in progress, otherwise we may accidentally resurrect otherwise unreachable weak referents. This can happen when we take the shortcut cycle and skip evac&update-refs.

      I believe this might be the root cause for JDK-8262852.

      Attachments

        Issue Links

          Activity

            People

              rkennke Roman Kennke
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: