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

Shenandoah: Fix weak roots in final Traversal GC phase

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8-shenandoah, 11-shenandoah, 14, 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b06
    • CPU:
      generic
    • OS:
      generic

      Description

      We're not fixing up all weak roots in final-traversal. But we have to, because weak roots are not scanned+evacuated at init-traversal, and may thus keep dangling pointers that would leak out to the next cycle. This can lead to heap corruption, crashes, etc.

      JDK-8230483 is most likely also related to that.

        Attachments

          Activity

            People

            • Assignee:
              rkennke Roman Kennke
              Reporter:
              rkennke Roman Kennke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: