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

Dynamically parallelize reference processing work

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 11
    • 8u20, 9
    • hotspot
    • gc
    • b19

    Backports

      Description

        The reference processing phases can, depending on the number of soft references and the amount of retained objects take a significant amount of time.

        To decrease the duration of the phase it is possible to use the ParallelRefProcEnabled switch - however that needs to be done manually.

        The goal of this CR is to dynamically turn on parallel reference processing for the different gc phases.

        One way to do this is to estimate the amount of work as fraction of the total gc pause time, and if this crosses a threshold, enable parallel reference processing automatically.

        Attachments

          Issue Links

            Activity

              People

                tschatzl Thomas Schatzl
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: