mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8245756: Reduce bootstrap cost of StringConcatFactory prependers
Reviewed-by: forax, psandoz
This commit is contained in:
parent
6e1403480a
commit
5200d162bc
4 changed files with 40 additions and 19 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue