Why is my benchmark blocked?
Henri Tremblay
henri.tremblay at gmail.com
Tue Aug 15 11:37:17 UTC 2017
Hi,
A bit of context would be nice. Like the actual test and the JMH version.
You are stuck on a latch so the part that was supposed to count down
didn't. I haven't look at the code to see what can cause that yet.
Henri
On 15 August 2017 at 02:57, 车武士 <tramchamploo at gmail.com> wrote:
> Here
>
> java.lang.Thread.State: WAITING (parking)
> at sun.misc.Unsafe.park(Native Method)
> - parking to wait for <0x00000007ae289048> (a
> java.util.concurrent.CountDownLatch$Sync)
> at java.util.concurrent.locks.LockSupport.park(LockSupport.
> java:175)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.
> parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.
> doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.
> acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
> at java.util.concurrent.CountDownLatch.await(
> CountDownLatch.java:231)
> at org.openjdk.jmh.runner.InfraControl.preTearDown(
> InfraControl.java:90)
>
More information about the jmh-dev
mailing list