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

Investigate treating StringTable as weak in young collections

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • None
    • hotspot
    • gc
    • b06
    • generic
    • generic

      Current STW collectors presently treat the StringTable as a strong root in young collections. This avoids the need to walk the StringTable and delete dead entries in a young collection. Instead it walks the StringTable and marks all the strings, as one of the in-parallel root marking phases.

      With the recent reimplementation of the StringTable using ConcurrentHashtable and OopStorage, treating it as a strong root rather than a weak root in young collections may no longer provide best performance.

            tschatzl Thomas Schatzl
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: