CMS: could save/restore fewer header words during scavenge

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: hotspot
    • gc
    • b124
    • generic
    • generic
    • Not verified

        It appears that scavenges in a configuration where CMS is the
        old generation may be unnecessarily saving/restoring more
        header words than necessary. The code came in explicitly
        with Biased Locking and was intended to work around a correctness
        issue after the application of a performance patch to reduce
        the number of header words saved/restored (presumably in the
        presence of promotion failure; see related bugs)
        and is somewhat delicate, so due diligence & caution is called for
        before making what might appear to be the obvious changes
        here as suggested by the customer.

              Assignee:
              Y. Ramakrishna
              Reporter:
              Y. Ramakrishna
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: