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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b07

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: