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

William Burns (JIRA) issues at jboss.org
Mon Sep 22 12:44:02 EDT 2014


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

William Burns updated ISPN-4733:
--------------------------------
              Status: Pull Request Sent  (was: Coding In Progress)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/2897


> 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