United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8027476 : Improve performance of Stringtable unlink

Details
Type:
Enhancement
Submit Date:
2013-10-29
Status:
Resolved
Updated Date:
2014-07-29
Project Name:
JDK
Resolved Date:
2014-01-20
Component:
hotspot
OS:
Sub-Component:
gc
CPU:
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs25,8
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

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). 

                                    

Comments
URL:   http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/893ce66f7473
User:  lana
Date:  2014-02-11 20:38:10 +0000

                                     
2014-02-11
URL:   http://hg.openjdk.java.net/jdk9/hs-gc/hotspot/rev/893ce66f7473
User:  tschatzl
Date:  2014-01-20 11:46:37 +0000

                                     
2014-01-20



Hardware and Software, Engineered to Work Together