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

Dan Berindei (JIRA) issues at jboss.org
Thu Sep 25 09:17:03 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-4733:
-------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> 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
>              Labels: hackathon
>             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