changeset 38428:0079e7d659db

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 73d309f504f6
children 0fd11baf20c3
files jdk/src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 {
         /**