Lower overhead String encoding/decoding

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Jun 3 16:47:59 UTC 2015


On 06/03/2015 07:34 PM, Xueming Shen wrote:
> I'm still planning to be the sponsor for this RFE and get this one
> into the jdk9. We are current working on JEP 254 [1][2][3]in which
> the internal storage mechanism is changed from char[] to byte[].  If
> this JEP get approved and is scheduled to target JDK9, the
> decoding/encoding pieces will also need to be updated/ changed
> accordingly. Given that I would prefer to delay this RFE a little
> more till all pieces are settled.

Do we actually need to wait for Compact Strings to land? The failure
scenario would be that Compact Strings are not making it to JDK 9, and
this code lingers in history.

I mean it's fine to see if there is a clash between the two, but I don't
think Richard's change should be blocked by Compact Strings, given it is
ready for integration (?), and Compact Strings are not yet.

Thanks,
-Aleksey




More information about the core-libs-dev mailing list