Duplicate :
|
|
Relates :
|
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.
|