Use atomic instruction to update StringDedupTable's entries and entries_removed counters

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: hotspot
    • gc
    • b07

      Currently, the counters are updated under StringDedupTable_lock, but they can be updated with atomic instructions also.

      This enhancement is needed for Shenandoah GC to move StringDedupTable cleanup out of pause, into concurrent phase with StringDedupTable_lock held.

            Assignee:
            Zhengyu Gu
            Reporter:
            Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: