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

Refactor String Deduplication into shared

    XMLWordPrintable

    Details

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

      Backports

        Description

        Besides G1, Shenandoah also implemented string deduplication support.

        The two implementations share many similarities, but are also different in the ways where they enqueue string candidates.

        G1 identifies and enqueues candidates at safepoints, while shenandoah does that during concurrent marking phase.

        The code should be refactored to move common code into shared, while abstract away to differences

          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: