review request (L): 7030453: JSR 292 ClassValue.get method is too slow

Krystal Mok rednaxelafx at gmail.com
Mon Sep 19 19:00:43 PDT 2011


Hi John,

On Tue, Sep 20, 2011 at 5:58 AM, John Rose <john.r.rose at oracle.com> wrote:
>
> The tunable parameters CACHE_LOAD_LIMIT and PROBE_LIMIT were chosen by
> looking at the behavior of artificial workloads.  Experience with real
> workloads will probably lead to further modifications (under new Change
> Requests).  I thought of making them tunable from JVM command line
> properties, but since no other class in java.lang does this, I held back.


FYI, There's one, java.lang.Integer's cache size is tunable via JVM command
line flag -XX:AutoBoxCacheMax, which in turn sets Java system property
"java.lang.Integer.IntegerCache.high", and affects the Integer cache size.
But that's probably a special case anyway.

Regards,
Kris Mok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20110920/f284fbc7/attachment.html 


More information about the hotspot-compiler-dev mailing list