8148604: JEP 280, Switch to more optimal concatenation strategy

Reviewed-by: psandoz, redestad
This commit is contained in:
Aleksey Shipilev 2016-05-19 16:59:31 +03:00
parent 4417a1f36f
commit 55889705b0

View File

@ -128,7 +128,7 @@ public final class StringConcatFactory {
/**
* Default strategy to use for concatenation.
*/
private static final Strategy DEFAULT_STRATEGY = Strategy.BC_SB;
private static final Strategy DEFAULT_STRATEGY = Strategy.MH_INLINE_SIZED_EXACT;
private enum Strategy {
/**