RFR: 8333265: De-duplicate method references in java.util.stream.FindOps [v3]

Claes Redestad redestad at openjdk.org
Tue Jun 18 10:00:46 UTC 2024


> 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.

Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:

  Fixes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19477/files
  - new: https://git.openjdk.org/jdk/pull/19477/files/a223e608..d83a1c96

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19477&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19477&range=01-02

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/19477.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19477/head:pull/19477

PR: https://git.openjdk.org/jdk/pull/19477


More information about the core-libs-dev mailing list