8148604: JEP 280, Switch to more optimal concatenation strategy
Reviewed-by: psandoz, redestad
--- a/jdk/src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java Thu May 19 16:08:39 2016 +0300
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java Thu May 19 16:59:31 2016 +0300
@@ -128,7 +128,7 @@
/**
* 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 {
/**