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

2024-04-24 Thread Brian Burkhalter
On Wed, 24 Apr 2024 15:45:58 GMT, Brian Burkhalter  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


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

2024-04-24 Thread Alan Bateman
On Wed, 24 Apr 2024 15:45:58 GMT, Brian Burkhalter  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


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

2024-04-24 Thread Brian Burkhalter
> 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=18901=03
 - incr: https://webrevs.openjdk.org/?repo=jdk=18901=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