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

Brian Burkhalter bpb at openjdk.org
Wed Apr 24 16:42:28 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

Running tests now. Assuming those pan out, will likely integrate tomorrow.

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

PR Comment: https://git.openjdk.org/jdk/pull/18901#issuecomment-2075392686


More information about the core-libs-dev mailing list