85         long targetTime = System.nanoTime()+ TIMEOUT;
  86         while (System.nanoTime()< targetTime) {

This code violates the rules for usage of nanoTime
https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#nanoTime--

Reply via email to