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

G1: _markedRegions never contains NULL regions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • hs23
    • hs23
    • hotspot
    • gc
    • b02
    • generic
    • generic
    • Not verified

        We statically established the statement in the synopsis line above.
        This allowed for some simplification in the cache filling code:
        the code to skip over NULL regions could be dropped entirely
        and replaced by an assertion that a NULL was never encountered
        in the _markedRegionsArray. This allowed some further simplifications,
        see Suggested Fix section. We also deleted some unused methods (dead code).

        The code was tested with JPRT and refworkload.

              ysr Y. Ramakrishna
              ysr Y. Ramakrishna
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: