Withdrawn: 7903492: JMH: Infrastructure code should yield occasionally for virtual executor to make progress
Aleksey Shipilev
shade at openjdk.org
Fri Jun 9 12:46:16 UTC 2023
On Thu, 8 Jun 2023 16:02:44 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Virtual executor can starved out by JMH infra code that busy loops. GHAs that are running with low core machines, where we see occasional timeouts with tests that do not make progress on their own. One of those tests require an explicit `Thread.yield` in its busy loop.
>
> This also affects the actual measurement loop, I think, but working it out regressing performance for every other executor would take a while. It would also be arguably a broken benchmark to try and run with more threads than the platform threads are available.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jmh/pull/111
More information about the jmh-dev
mailing list