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

G1: Enable parallel scanning for heap region remset

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • hotspot
    • gc
    • b26

      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.

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

              Created:
              Updated:
              Resolved: