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

G1: Use simpler data structure for holding collection set candidates during calculation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc

      During calculation of the collection set candidates in the Remark pause, G1 uses an array of G1CollectionSetCandidateInfos. This struct holds a reference to a G1HeapRegion and some integer.

      That latter integer is not needed during that calculation, and not modified at all by that process; since we delete that temporary data structure later anyway, it makes sense to not carry around the full G1CollectionSetCandidateInfo array while building the collection set candidates from marking.

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

              Created:
              Updated: