Searched refs:NANOS_PER_MILLI (Results 1 – 3 of 3) sorted by relevance
28 private static final int NANOS_PER_MILLI = 1000000; field in ReferenceQueue99 if (timeoutMillis == 0 || (timeoutMillis > Long.MAX_VALUE / NANOS_PER_MILLI)) { in remove()107 long nanosToWait = timeoutMillis * NANOS_PER_MILLI; in remove()122 timeoutMillis = nanosRemaining / NANOS_PER_MILLI; in remove()123 timeoutNanos = (int) (nanosRemaining - timeoutMillis * NANOS_PER_MILLI); in remove()
60 private static final int NANOS_PER_MILLI = 1000000; field in Thread763 if (millis < 0 || nanos < 0 || nanos >= NANOS_PER_MILLI) { in join()768 boolean overflow = millis >= (Long.MAX_VALUE - nanos) / NANOS_PER_MILLI; in join()781 long nanosToWait = millis * NANOS_PER_MILLI + nanos; in join()795 millis = nanosRemaining / NANOS_PER_MILLI; in join()796 nanos = (int) (nanosRemaining - millis * NANOS_PER_MILLI); in join()1024 long duration = (millis * NANOS_PER_MILLI) + nanos; in sleep()1042 millis = duration / NANOS_PER_MILLI; in sleep()1043 nanos = (int) (duration % NANOS_PER_MILLI); in sleep()1215 long millis = nanos / NANOS_PER_MILLI; in parkFor$()[all …]
37 private static final int NANOS_PER_MILLI = 1000 * 1000; field in Daemons38 private static final int NANOS_PER_SECOND = NANOS_PER_MILLI * 1000;268 long sleepMills = sleepNanos / NANOS_PER_MILLI; in sleepFor()