JDK-8002329 : Replace -XX:StringTableSize flag with -XX:PredictedInternedStringCount
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2012-11-06
  • Updated: 2015-03-05
  • Resolved: 2015-03-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
Users should not be allowed to specify the StringTableSize.  Instead, users could specify a suggested internal string count.  The JVM could then predict the max number of strings, allowing it to set an appropriate size - based on whatever underlying storage is being used.

This would also allow the JVM to potentially resize the String Table.
Comments
This seems to cover the same ground as JDK-7122219. As noted there I do not think the user can predict the string count, nor can the VM infer a required capacity based on that count.
09-11-2012