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

G1: Enable parallel scanning for heap region remset

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 20
    • 20
    • hotspot
    • gc
    • b26

    Description

      Currently, when merging heap region RemSets, G1 assigns a thread per region. For degenerate cases where cards are unevenly distributed across the RemSets, some worker threads are assigned huge tables to scan while others lie idle.

      We can improve the parallelism by allowing multiple threads to scan a region's Remset. Given that the Remsets are built on the Concurrent Hash Table, we can easily parallelise the Remset scan without significant overhead for the single threaded case.

      Attachments

        Issue Links

          Activity

            People

              iwalulya Ivan Walulya
              iwalulya Ivan Walulya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: