Integrated: 8333265: De-duplicate method references in java.util.stream.FindOps
Claes Redestad
redestad at openjdk.org
Wed Aug 21 22:13:09 UTC 2024
On Thu, 30 May 2024 12:50:36 GMT, Claes Redestad <redestad at 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.
This pull request has now been integrated.
Changeset: 47c8a6a8
Author: Claes Redestad <redestad at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/47c8a6a8db979fe862be876008feb76cdc9dccfd
Stats: 46 lines in 2 files changed: 21 ins; 0 del; 25 mod
8333265: De-duplicate method references in java.util.stream.FindOps
Reviewed-by: liach
-------------
PR: https://git.openjdk.org/jdk/pull/19477
More information about the core-libs-dev
mailing list