Using System.nanoTime() instead of System.currentTimeMillis(). System.currenttimeMillis is not monotonically increasing all the time across all the OSes and hostsgit statusgit status