using -XX:-UseCompilerSafepoints
Aleksey Shipilev
aleksey.shipilev at oracle.com
Mon Nov 10 19:13:09 UTC 2014
On 11/10/2014 10:05 PM, Deneau, Tom wrote:
> I wanted to test the effect of the CompilerSafepoints poll
> instruction on a doNothing loop. But when I tried this, the first
> warmup iteration (supposed to be 1 second) never returned. I am
> using forking. so something like -f 1 -jvmPrependArgs
> "-XX:-UseCompilerSafepoints"
>
> Is this combination legal?
JMH usage seems legal.
I wonder if your code is stuck in the infinite loop somewhere with
-XX:-UseCompilerSafepoints.
-Aleksey.
More information about the jmh-dev
mailing list