Request for reviews (M): 6924259: Remove String.count, String.offset fields

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu May 10 14:01:57 PDT 2012


Ismael Juma wrote:
> Hi Vladimir,
> 
> Vladimir Kozlov <vladimir.kozlov at ...> writes:
>> http://cr.openjdk.java.net/~kvn/6924259/webrev
>>
>> 6924259: Remove String.count/String.offset
>>
>> Allows a version of the String class that doesn't have count,offset fields.
>> These VM changes works with both versions of String class by checking the 
>> presence of fields.
> 
> Interesting. Is there a plan for the standard JDK to use a String class without 
> count and offset fields or is it just for the embedded one? (the bug number is 
> not accessible yet in case it's already described there).

Yes, it is preparation for standard JDK changes.

Vladimir

> 
> Best,
> Ismael
> 


More information about the hotspot-dev mailing list