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

G1: Abort weak reference processing if mark stack overflows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b08

      Backports

        Description

        In ConcurrentMark::weakRefsWork(), if the mark stack overflows we should not proceed to prune the string and symbol tables because we can't trust the g1_is_alive closure until marking has completed.

        Before starting to unlink elements from the string and symbol table we should check that has_overflown() is false.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pliden Per Liden (Inactive)
                Reporter:
                pliden Per Liden (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: