On Tue, 13 Aug 2024 09:00:10 GMT, Shaojin Wen <d...@openjdk.org> wrote:

>> This PR implements the same algorithm as the current generateMHInlineCopy 
>> based on bytecode to improve startup performance.
>
> Shaojin Wen has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Update src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java
>   
>   Co-authored-by: Claes Redestad <claes.redes...@oracle.com>

src/java.base/share/classes/java/lang/StringConcatHelper.java line 121:

> 119:         @ForceInline
> 120:         String concat(Object value) {
> 121:             String str = stringOf(value);

Redundant (remove, or replace `stringOf(value)` on next line with `str`)

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20273#discussion_r1714962672

Reply via email to