8245756: Reduce bootstrap cost of StringConcatFactory prependers

Reviewed-by: forax, psandoz
This commit is contained in:
Claes Redestad 2020-05-27 12:42:55 +02:00
parent 6e1403480a
commit 5200d162bc
4 changed files with 40 additions and 19 deletions

View file

@ -2287,6 +2287,10 @@ public final class System {
return StringConcatHelper.initialCoder();
}
public long stringConcatMix(long lengthCoder, String constant) {
return StringConcatHelper.mix(lengthCoder, constant);
}
public Object classData(Class<?> c) {
return c.getClassData();
}