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

Shenandoah: Process references before evacuation during degen

    XMLWordPrintable

Details

    • gc
    • b30
    • generic
    • generic

    Backports

      Description

        Currently, when doing degen-cycle, we process references right before immediate-garbage cleanup. It is imperative that we process references before any immediate garbage gets recycled, or else we may end up with bad references during reference-processing. However, the trouble is that immediate garbage can be recycled even before cleanup phase by recycle-assist. For this reason, we must process references before any evacuation during degen GC. It is also more natural: we process refs before weak roots and class-unloading during concurrent cycle, and should do the same during degen cycle.
        (Note that we already prevent recycle-assist in concurrent phase)

        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: