On Thu, 30 May 2024 12:50:36 GMT, Claes Redestad <redes...@openjdk.org> wrote:
> Extracting duplicate method references to static field reduce proxy class > spinning and loading. In this case 2 less classes loaded when using > `findAny()` on each type of stream. For constant method reference, the solution is to use a constant dynamic instead of an invokedynamic. ------------- PR Comment: https://git.openjdk.org/jdk/pull/19477#issuecomment-2139645936