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

G1: ReferenceProcessor doesn't handle mark stack overflow

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b18
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tschatzl Thomas Schatzl
                  Reporter:
                  kbarrett Kim Barrett
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: