[infinispan-issues] [JBoss JIRA] (ISPN-4733) Investigate potential issues with System.nanoTime() overflow

Dan Berindei (JIRA) issues at jboss.org
Wed Sep 17 03:55:02 EDT 2014


Dan Berindei created ISPN-4733:
----------------------------------

             Summary: Investigate potential issues with System.nanoTime() overflow
                 Key: ISPN-4733
                 URL: https://issues.jboss.org/browse/ISPN-4733
             Project: Infinispan
          Issue Type: Task
          Components: Core, Test Suite - Core
    Affects Versions: 7.0.0.Beta2
            Reporter: Dan Berindei
            Assignee: William Burns
             Fix For: 7.0.0.CR1


{{System.nanoTime()}} can overflow, so it's not ok to compare two {{System.nanoTime()}} return values directly. Instead, we always have to work with the difference between return values.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the infinispan-issues mailing list