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

Shenandoah: Always deduplicate strings when it is enabled during full gc

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8-shenandoah, 11, 16, 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b23

      Description

      Full GC should recover as much memory as possible, so it should deduplicate all string candidates regardless their ages, when it is enabled.

      Note: Full GC does not preserve age bits, so current implementation will not deduplicate any strings even with back-to-back full GCs.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: