And since benchmarking is hard is also has a helper to actually "waste" time. [1]
The implementation [2] might give an idea that it is not always trivial to do nothing but still appear busy.
Btw I found most of the jmh samples interesting. IMO a quite effective mix of example and documentation. (and I'm not sure there is even much other official documentation)