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

Improve performance of Stringtable unlink

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b03

      Backports

        Description

        At the end of a GC that treated strings as a weak root for traversal, the string table is scanned for unreferenced entries, which are then deleted.

        This can be time-consuming if the string table is large; this RFE is about improving the performance.

        One way to do this is to parallelize the effort; JDK-8004888 implemented parallel traversal by claiming hash table buckets on a per-thread basis. A similar method could be applied in this case, and provided for all uses in a parallel collector (at least CMS, the parallel gcs, G1 full gc and during the G1 remark pause).

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                tschatzl Thomas Schatzl
                Reporter:
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: