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

Replace -XX:StringTableSize flag with -XX:PredictedInternedStringCount

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Build:
      b06

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gziemski Gerard Ziemski
                Reporter:
                hseigel Harold Seigel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: