On Thu, 6 Oct 2022 13:39:25 GMT, Alan Bateman <al...@openjdk.org> wrote:

>> This is a test only change for two tests for virtual threads that 
>> hang/timeout on single core systems. The two tests involve pinning and 
>> require at least two carrier threads. The test lib used by these tests is 
>> updated to define a new method that ensures parallelism is at least a given 
>> value and both tests are updated to use this. There are a number of tests in 
>> the debugger area that may potentially use this in the future.
>
> Alan Bateman 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 four additional 
> commits since the last revision:
> 
>  - Replace try-with-resource with try-finally
>  - Merge
>  - Make close idempotent
>  - Initial commit

If these tests are ever run with the virtual thread wrapper, will we end up 
being short a carrier thread? It's unclear to me if the tests will always have 
at least one unpinned carrier thread to work with.

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

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

Reply via email to