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

PS, ParNew: reference processor's _is_alive_non_header field should be left NULL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs11
    • 7
    • hotspot
    • None
    • gc
    • b07
    • generic
    • generic
    • Verified

        The code inadvertently changed when parallel reference processing was
        extended to all parallel collectors. Collectors such as ParNewGC and ParallelGC
        which use in-place marking in the header do not need to set the
        _is_alive_non_header field since the test therein becomes
        redundant wrt checks already performed inline while scanning
        Reference subtypes. Not doing the redundant test can marginally
        speed up performance in the cases where the referent is
        not reachable and in the young generation.

        The performance impact as a result of this is usually in the noise
        except for configurations where Reference subtypes are plentiful
        and one uses very large Eden and/or Survivor Spaces.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: