• J
    7117303: VM uses non-monotonic time source and complains that it is non-monotonic · 412f955f
    johnc 提交于
    Summary: Replaces calls to os::javaTimeMillis(), which does not (and cannot) guarantee monotonicity, in GC code to an equivalent expression that uses os::javaTimeNanos(). os::javaTimeNanos is guaranteed monotonically non-decreasing if the underlying platform provides a monotonic time source. Changes in OS files are to make use of the newly defined constants in globalDefinitions.hpp.
    Reviewed-by: dholmes, ysr
    412f955f
os_linux.cpp 180.6 KB