RFR: 8324582: Replace -Djava.util.concurrent.ForkJoinPool.common.parallelism to -Djdk.virtualThreadScheduler.maxPoolSize/parallelism in jvmti vthread tests [v3]
Alan Bateman
alanb at openjdk.org
Thu Jan 25 07:12:29 UTC 2024
On Wed, 24 Jan 2024 21:01:37 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> Some jvmti tests use
>> -Djava.util.concurrent.ForkJoinPool.common.parallelism
>> to control the pool of virtual threads. However, it is controlled by
>> jdk.virtualThreadScheduler.parallelism property.
>>
>> The non-continuations implementation doesn't use any of these properties and it was just deleted.
>>
>> I verified the fix using jcmd Thread.dump and ran all jvmti tests in the default configuration.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>
> update copyrights years
@lmesnik Can you fix the JBS issue and description of this PR so that is aligns with the current solution? Using maxPoolSize is right here so I think the change is fine.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17547#issuecomment-1909474774
More information about the serviceability-dev
mailing list