hg: code-tools/jmh: Blackhole: randomize the values we match against, help to level out speculative "&" optimizations evaluating the first operand only.

aleksey.shipilev at oracle.com aleksey.shipilev at oracle.com
Mon May 12 20:31:17 UTC 2014


Changeset: 60a320b27b4a
Author:    shade
Date:      2014-05-12 23:38 +0400
URL:       http://hg.openjdk.java.net/code-tools/jmh/rev/60a320b27b4a

Blackhole: randomize the values we match against, help to level out speculative "&" optimizations evaluating the first operand only.

+ jmh-core-benchmarks/src/main/java/org/openjdk/jmh/benchmarks/BlackholeValueBench.java
! jmh-core/src/main/java/org/openjdk/jmh/logic/BlackHole.java



More information about the jmh-dev mailing list