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

Account for hot card cache cards in distributing heap root scan times

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 13
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      For ergonomics decisions (young gen size) we need a fairly accurate measure of how the various sources of heap roots contribute to garbage collection time.

      With JDK-8213108 the method to distribute card scanning costs radically changed as scanning the heap roots is a single pass. It distributed the total time according to the number of cards the various roots contribute.

      Since the hot card cache is small and either completely unused (not doing lots of refinement) or if there is lots of refinement, the cards in there are dwarfed by the other sources of heap roots, the change did not incorporate this count in the calculation.

      Fix this and investigate impact.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tschatzl Thomas Schatzl
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: