8245094: Reduce overhead of initializing the default StringConcatFactory strategy

Reviewed-by: psandoz, jlaskey
This commit is contained in:
Claes Redestad 2020-05-15 18:37:08 +02:00
parent e83968799e
commit 150d6cfea8
3 changed files with 10 additions and 6 deletions

View file

@ -2283,6 +2283,10 @@ public final class System {
return StringConcatHelper.lookupStatic(name, methodType);
}
public long stringConcatInitialCoder() {
return StringConcatHelper.initialCoder();
}
public Object classData(Class<?> c) {
return c.getClassData();
}