RFR: 8328316: Finisher cannot emit if stream is sequential and integrator returned false [v2]

Viktor Klang vklang at openjdk.org
Wed Mar 20 23:22:35 UTC 2024


> Adds differentiation between direct and transitive short circuiting which could prevent pushing downstream in the finisher for built-ins that were not `collect()`.
> 
> Creating this as a draft PR for now, just need to run some benchmarks to validate no significant regressions first.

Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:

  Update test/jdk/java/util/stream/GathererShortCircuitTest.java
  
  Co-authored-by: Paul Sandoz <paul.d.sandoz at googlemail.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18351/files
  - new: https://git.openjdk.org/jdk/pull/18351/files/fe867a15..f32b1c5f

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

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

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


More information about the core-libs-dev mailing list