using -XX:-UseCompilerSafepoints
Deneau, Tom
tom.deneau at amd.com
Mon Nov 10 19:45:21 UTC 2014
I noticed using -f 0 with -XX:-UseCompilerSafepoints does not hang.
-- Tom
-----Original Message-----
From: Aleksey Shipilev [mailto:aleksey.shipilev at oracle.com]
Sent: Monday, November 10, 2014 1:13 PM
To: Deneau, Tom; jmh-dev at openjdk.java.net
Subject: Re: using -XX:-UseCompilerSafepoints
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