On Wed, 2 Oct 2024 18:34:53 GMT, Alan Bateman <[email protected]> wrote:
> This is a test only change. > VirtualThreadSchedulerMXBeanTest.testReduceParallelism can fail when > getMountedVirtualThreadCount over estimates the number of mounted virtual > threads. > > The test is changed from using getMountedVirtualThreadCount to sample the > result until it reads the expected value. > > As part of the change, the awaitXXX supporting methods are refactored to take > a predicate and the trace message. This pull request has now been integrated. Changeset: eb93e695 Author: Alan Bateman <[email protected]> URL: https://git.openjdk.org/jdk/commit/eb93e6952b5d2dbe78cd9680855ac99c69b3dcb2 Stats: 80 lines in 1 file changed: 57 ins; 8 del; 15 mod 8339979: VirtualThreadSchedulerMXBeanTest.testReduceParallelism fails intermittently Reviewed-by: kevinw ------------- PR: https://git.openjdk.org/jdk/pull/21310
