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

Alan Bateman alanb at openjdk.org
Wed Apr 24 16:10:30 UTC 2024


On Wed, 24 Apr 2024 15:45:58 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

Updated version looks fine.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18901#pullrequestreview-2020325265


More information about the core-libs-dev mailing list