osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis issue #2481: ARTEMIS-2213 don't expire critical component i...


Github user franz1981 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/2481
  
    Ah, another consideration: nanoTime can actually go backward due to "starting in an unspecified point of time", but usually this need to be handled by not comparing directly values and just perform the difference, making use of numerical overflow to have correct values back, as reported by https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#nanoTime--.


---