RFR: 8285416: [LOOM] Some nsk/jdi tests fail due to needing too many virtual threads [v2]

Chris Plummer cjplummer at openjdk.org
Thu Dec 22 06:45:07 UTC 2022


On Thu, 22 Dec 2022 06:23:25 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Yeah that isn't nice. I was thinking a more simple check of the property value against the required number of threads. Though based on your comment "nthreads+1" is not always enough so the check would not be sufficient.

I think I can get past the nthreads + 1 issue. I believe in one test there is another vthread that I was not accounting for, so probably nthreads + 2 would work for that test. However, I don't quite understand your suggestion. Are you suggesting that after checking the property, if too small then I don't run the test and just have it pass?

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

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


More information about the serviceability-dev mailing list