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

William Burns (JIRA) issues at jboss.org
Mon Sep 22 10:52:03 EDT 2014


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

William Burns updated ISPN-4733:
--------------------------------
    Status: Open  (was: New)


> 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