Request for review: JDK-8009928 PSR:PERF Increase default string table size

David Holmes david.holmes at oracle.com
Sun Apr 14 19:26:38 PDT 2013


Hi Harold,

On 12/04/2013 10:49 PM, harold seigel wrote:
> Hi,
>
> Please review the following fix for bug: JDK-8009928 PSR:PERF Increase
> default string table size
>
> Summary:   To improve performance, increase the default size of the
> StringTable to 60013 for 64-bit platforms.  This will increase the
> default size of the StringTable by about 944K.  Please see the
> discussion in the bug report about why this change is need.
>
> Open webrev at http://cr.openjdk.java.net/~hseigel/bug_8009928/
> <http://cr.openjdk.java.net/%7Ehseigel/bug_8009928/>

You can do this more succinctly using the LP64_ONLY and NOT_LP64 macros.

I'm not clear why you needed to add the minimumStringTableSize - is 1009 
really a hard minimum on the table size?

Thanks,
David

> Bug link at http://bugs.sun.com/view_bug.do?bug_id=8009928
>
> The change was tested by hand to ensure that the right string table
> sizes were being set for both 32 and 64 bit platforms.  Regression
> testing was done using JCK Lang and VM, JTREG tests, and ute
> vm.quick.testlist tests.
>
> Thank you!
> Harold


More information about the hotspot-runtime-dev mailing list