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

G1: ReferenceProcessor doesn't handle mark stack overflow

XMLWordPrintable

    • gc
    • b18
    • generic
    • generic

        If the mark stack overflows during reference processing, further calls to the is_alive closure may return the wrong value, returning false for an actually live object. (Said overflow and wrong answer can only happen because of soft reference phase1 or finalizer reference processing, as those are the only cases where previously unknown live objects can be found during reference processing.) There doesn't appear to be any mechanism for communicating to reference processing that the is_alive closure is no longer reliable.

              tschatzl Thomas Schatzl
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: