Сann't Build the Project Under Mac OS
Aleksey Shipilev
aleksey.shipilev at oracle.com
Sun May 12 03:30:53 PDT 2013
On 05/12/2013 02:14 PM, Мамонтов Иван wrote:
> I think it makes sense to make test more platform independent, i.e. avoid
> System.nanoTime() method call.
Thanks for the bug report! That was a test bug. The granularity of
System.nanoTime() is indeed not guaranteed. I had pushed the fix into
the repo:
$ hg tip
changeset: 29:fe1c20a483af
tag: tip
user: shade
date: Sun May 12 14:29:59 2013 +0400
summary: Do not rely on System.nanoTime() for ordering the test events.
I had also checked there are no other uses of nanoTime or
currentTimeMillis in our testbase. Please pull the new revision and try
again.
-Aleksey.
More information about the jmh-dev
mailing list