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

Consolidate discovered lists processing

    XMLWordPrintable

Details

    • gc
    • b14

    Description

      In `RefProcSoftWeakFinalPhaseTask`, `complete_gc->do_void()` is called at the end of `rp_work(...)`, but `complete_gc` is passed into `ReferenceProcessor` in `RefProcKeepAliveFinalPhaseTask` and `RefProcPhantomPhaseTask`. There's no technical reason for such inconsistency.

      If we move the call, `complete_gc->do_void()`, to the end of `rp_work(...)`, we can merge the discovered list processing for all four kinds of non-strong refs.

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: