Skip to content

Commit

Permalink
7903322: JMH: Fix typo in JMHSample_11_Loops
Browse files Browse the repository at this point in the history
Reviewed-by: shade
  • Loading branch information
hrldcpr authored and shipilev committed Sep 27, 2022
1 parent fbcc4ac commit 7631fce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public int measureWrong_100000() {
* well beyond what hardware can actually do.
*
* This happens because the loop is heavily unrolled/pipelined, and the operation
* to be measured is hoisted from the loop. Morale: don't overuse loops, rely on JMH
* to be measured is hoisted from the loop. Moral: don't overuse loops, rely on JMH
* to get the measurement right.
*
* You can run this test:
Expand Down

0 comments on commit 7631fce

Please sign in to comment.