8338937: Optimize the string concatenation of ClassDesc

Reviewed-by: liach
This commit is contained in:
Shaojin Wen 2024-09-04 22:45:17 +00:00 committed by Chen Liang
parent d4dfa0127f
commit 55312e1549
7 changed files with 53 additions and 18 deletions

View file

@ -2650,6 +2650,10 @@ public final class System {
return String.join(prefix, suffix, delimiter, elements, size);
}
public String concat(String prefix, Object value, String suffix) {
return StringConcatHelper.concat(prefix, value, suffix);
}
public Object classData(Class<?> c) {
return c.getClassData();
}