Class BenchmarkHandler.WorkerData

java.lang.Object
org.openjdk.jmh.runner.BenchmarkHandler.WorkerData
Enclosing class:
BenchmarkHandler

private static class BenchmarkHandler.WorkerData extends Object
Handles thread-local data for each worker that should not change between the iterations.
  • Field Details

    • instance

      final Object instance
      Synthetic benchmark instance, which holds the benchmark metadata. Expected to be touched by a single thread only.
    • params

      final ThreadParams params
      Thread parameters. Among other things, holds the thread's place in group distribution, and thus should be the same for a given thread.
  • Constructor Details