switch / feature UseStringCache & status

Krystal Mo krystal.mo at oracle.com
Mon Feb 25 19:42:16 PST 2013


Hi Chuck,

I don't think this feature ever made it to JDK7. Both 
UseCompressedString and UseStringCache were Oracle/Sun JDK6-only 
features, which weren't present in either OpenJDK 6/7/8 nor JDK7/8 and 
on. So it's not "removed" in JDK7, it just never existed.

Hope that helps,
Kris

On 2013/2/25 13:51, Maslowski, Chuck wrote:
>
> Hi, we were trying to use --XX:+UseStringCache in OpenJDK 7 Update2 ( 
> hotspot build 22.0-B10 )
>
> However when researching hotspot /src/share/vm/runtime/thread.cpp, 
> UseStringCache looks for the Boolean field stringCacheEnabled in the 
> class java/lang/StringValue.
>
> The class is not in JDK7 that we can find.
>
> I'm looking for a CR or something where this feature was removed.
>
> Can you give me some details?
>
> Thanks in advance,
>
> Chuck Maslowski
>
> CBOE
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20130225/09991f04/attachment.html 


More information about the hotspot-compiler-dev mailing list