United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8009928 PSR:PERF Increase default string table size
JDK-8009928 : PSR:PERF Increase default string table size

Details
Type:
Bug
Submit Date:
2013-03-12
Status:
Closed
Updated Date:
2013-10-15
Project Name:
JDK
Resolved Date:
2013-10-15
Component:
performance
OS:
generic
Sub-Component:
Empty
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
Fixed Versions:
hs25

Related Reports
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
The default string table size (particularly for FA) is too small and should be increased.

Increasing this size does affect the size of the string table bucket array, but the increase is minimal. For apps which set a size of 60013, the increase in the array size is 460K.
                                    

Comments
"too small" for what? Please provide more details on what apps find this too small and what you suggest as a new size. This may be a value that we need to conditionally set depending on the build (SE vs Embedded) or maybe even the platform. But there is insufficient information to act on this report as it stands.
                                     
2013-03-19
The current StringTable size is too small for just about any Fusion App.  The size only needs to be set for server and tiered, and it isn't necessary for client.  The suggested size is 60013 which will eliminate the performance impact when running Fusion Apps with +70K interned strings.
                                     
2013-03-19
Right, as Dave K says we are talking about Fusion Apps (FA), which I unfortuantely did not make clear. For 64-bit server/tiered only, the footprint increase for non-FA apps would be minimal.
                                     
2013-03-19
Most FMW, and all ADF-based Fusion Apps require an string table of 60013 or greater.  
                                     
2013-04-10
This is a simple, straight-forward change, with the only negative impact being a slight footprint increase.  This is critical for Java SE 64-bit environments, and should be set as default for that build.  
                                     
2013-04-10
URL:   http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/63e31ce40bdb
User:  hseigel
Date:  2013-04-17 14:19:24 +0000

                                     
2013-04-17
URL:   http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/63e31ce40bdb
User:  amurillo
Date:  2013-04-26 11:21:16 +0000

                                     
2013-04-26
Check print flags final in 8-b111

(sorry for reopening, clicked the wrong button)
                                     
2013-10-15



Hardware and Software, Engineered to Work Together