On Tue, 20 Oct 2026 04:19:51 GMT, David Holmes <[email protected]> wrote:
> But that is fine if it makes no sense to run more than one thread. From what > I have read you should do the check in a setup function: > `@Setup(Level.Trial)`. Thanks. I've added the check in `@Setup(Level.Trial)` to require a single JMH worker. It would be handy to have an annotation that enforces a single worker, unlike `@Threads(1)`, which can still be overridden by `-t`. ------------- PR Comment: https://git.openjdk.org/jdk/pull/33239#issuecomment-6294852232
