On Mon, 26 Feb 2024 11:34:18 GMT, Claes Redestad wrote:
>> jdk.internal.reflect.UTF8 is used for encoding String to encoded UTF-8 when
>> generating some classes.
>>
>> Since JDK 9 we have a fast-path (which avoids creating encoders) for
>> UTF-8-encoding strings which is bootstrapped very ea
On Mon, 26 Feb 2024 11:34:18 GMT, Claes Redestad wrote:
>> jdk.internal.reflect.UTF8 is used for encoding String to encoded UTF-8 when
>> generating some classes.
>>
>> Since JDK 9 we have a fast-path (which avoids creating encoders) for
>> UTF-8-encoding strings which is bootstrapped very ea
On Mon, 26 Feb 2024 14:47:06 GMT, Roger Riggs wrote:
>> Claes Redestad has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Remove temporary microbenchmark
>
> src/java.base/share/classes/jdk/internal/reflect/ClassFileAssembler.java line
> 2
On Mon, 26 Feb 2024 11:34:18 GMT, Claes Redestad wrote:
>> jdk.internal.reflect.UTF8 is used for encoding String to encoded UTF-8 when
>> generating some classes.
>>
>> Since JDK 9 we have a fast-path (which avoids creating encoders) for
>> UTF-8-encoding strings which is bootstrapped very ea
On Mon, 26 Feb 2024 11:34:18 GMT, Claes Redestad wrote:
>> jdk.internal.reflect.UTF8 is used for encoding String to encoded UTF-8 when
>> generating some classes.
>>
>> Since JDK 9 we have a fast-path (which avoids creating encoders) for
>> UTF-8-encoding strings which is bootstrapped very ea
> jdk.internal.reflect.UTF8 is used for encoding String to encoded UTF-8 when
> generating some classes.
>
> Since JDK 9 we have a fast-path (which avoids creating encoders) for
> UTF-8-encoding strings which is bootstrapped very early, so it seems safe to
> rewire this and remove the UTF8 hel
jdk.internal.reflect.UTF8 is used for encoding String to encoded UTF-8 when
generating some classes.
Since JDK 9 we have a fast-path (which avoids creating encoders) for
UTF-8-encoding strings which is bootstrapped very early, so it seems safe to
rewire this and remove the UTF8 helper class wh