On Mon, 24 Feb 2025 23:45:37 GMT, Chen Liang <li...@openjdk.org> wrote:

>> LF editor spins classes, this avoids the spinning overhead and should speed 
>> up non-capturing lambdas too.
>> 
>> There may need to be additional intrinsic work for MH combinator lf bytecode 
>> generation.
>
> Chen Liang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   We no longer load DelegateMH as we no longer rebind

Changes requested by exe-b...@github.com (no known OpenJDK username).

src/java.base/share/classes/java/lang/invoke/MethodHandles.java line 4893:

> 4891:      * @return a constant method handle of the given type, which 
> returns a default value of the given return type
> 4892:      * @throws NullPointerException if the argument is null
> 4893:      * @see MethodHandles#primitiveZero

`MethodHandles​.primitiveZero(…)` is a private internal API.
Suggestion:

     * @see MethodHandles#zero

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

PR Review: https://git.openjdk.org/jdk/pull/23706#pullrequestreview-2848299662
PR Review Comment: https://git.openjdk.org/jdk/pull/23706#discussion_r2094138280

Reply via email to