title: Does the JVM keep its time synced with the OS?
body: <p>I am working on an application which is time-centric. My code frequently calls <code>System.currentTimeMillis()</code> and <code>System.nanoTime()</code>. </p>
  
  <p>So I want to make sure these timestamp calls are perfectly synced with the OS. When and how does the JVM sync its clock? At startup or every time I call those two methods?</p>
  
  <p>My OS time is perfectly synced with NTP servers.</p>