Skip to content

Commit 7631fce

Browse files
hrldcprshipilev
authored andcommitted
7903322: JMH: Fix typo in JMHSample_11_Loops
Reviewed-by: shade
1 parent fbcc4ac commit 7631fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jmh-samples/src/main/java/org/openjdk/jmh/samples/JMHSample_11_Loops.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public int measureWrong_100000() {
131131
* well beyond what hardware can actually do.
132132
*
133133
* This happens because the loop is heavily unrolled/pipelined, and the operation
134-
* to be measured is hoisted from the loop. Morale: don't overuse loops, rely on JMH
134+
* to be measured is hoisted from the loop. Moral: don't overuse loops, rely on JMH
135135
* to get the measurement right.
136136
*
137137
* You can run this test:

0 commit comments

Comments
 (0)