On Tue, 27 Aug 2024 11:52:38 GMT, Shaojin Wen wrote:
>> The string concatenation of java.base module is implemented based on
>> StringBuilder, which will result in extra object allocation and slow
>> performance. We can solve this problem by using String.concat method and
>> StringConcatHelper
On Sun, 25 Aug 2024 21:41:11 GMT, Shaojin Wen wrote:
>> Well, `Class::descriptorString()` is referenced from the
>> `ReferenceClassDescImpl` creation code in `ConstantUtils`:
>> https://github.com/openjdk/jdk/blob/5671f836039ef1683e3e9ce5b7cf0fa2f1860e2d/src/java.base/share/classes/jdk/internal
> The string concatenation of java.base module is implemented based on
> StringBuilder, which will result in extra object allocation and slow
> performance. We can solve this problem by using String.concat method and
> StringConcatHelper to provide concat method.
>
> for example,
>
> * use "+