RFR: 8330748: ByteArrayOutputStream.writeTo(OutputStream) pins carrier [v4]

Brian Burkhalter bpb at openjdk.org
Wed Apr 24 15:45:58 UTC 2024


> Prevent blocking due to a carrier thread not being released when `ByteArrayOutputStream.writeTo` is invoked from a virtual thread.

Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - 8330748: Modify writeTo() not to invoke toByteArray()
 - Merge
 - 8330748: Add vthread1.join() in test
 - Correct ID in test @bug tag
 - 8330748: ByteArrayOutputStream.writeTo(OutputStream) pins carrier

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18901/files
  - new: https://git.openjdk.org/jdk/pull/18901/files/1dd59b7b..8076291f

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

  Stats: 8598 lines in 278 files changed: 4899 ins; 2693 del; 1006 mod
  Patch: https://git.openjdk.org/jdk/pull/18901.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18901/head:pull/18901

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


More information about the core-libs-dev mailing list