changeset 16489:a3f13b375854

8148604: JEP 280, Switch to more optimal concatenation strategy Reviewed-by: psandoz, redestad
author shade
date Thu, 19 May 2016 16:59:31 +0300
parents c79af458bd7d
children 099857ef9d0c
files src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java	Thu May 19 16:08:39 2016 +0300
+++ b/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 {
         /**