所以这里提醒做非常精确的时间统计的朋友,谨慎使用System.currentTimeMillis() . 在Java中可以通过System.currentTimeMillis()或者System.nanoTime() (JDK>=5.0) 方法获得当前的时间的精确值.但是通过阅读Javadoc,我们发现这两个方法并不一定保证得到你所期望的精度.先来看 System.currentTimeMillis(): Returns the current time in milliseconds. Not