activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1393) CriticalAnalyzer timeout uses System::currentTimeMillis
Date Thu, 07 Sep 2017 14:12:00 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156994#comment-16156994
] 

ASF subversion and git services commented on ARTEMIS-1393:
----------------------------------------------------------

Commit 9cf222be116192a8f87eb9e55fc5d0246dc5cf3f in activemq-artemis's branch refs/heads/master
from [~nigro.fra@gmail.com]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=9cf222b ]

ARTEMIS-1393 CriticalAnalyzer timeout uses System::currentTimeMillis

The timeout logic is changed to use System::nanoTime, less sensible to OS clock changes.
The volatile set on CriticalMeasure are changed with cheaper lazySet.


> CriticalAnalyzer timeout uses System::currentTimeMillis
> -------------------------------------------------------
>
>                 Key: ARTEMIS-1393
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1393
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>
> To compute timeouts of the CriticalAnalyzer Instead of System::currentTimeMillis is preferrable
to use System::nanoTime, that is not sensible to OS changes on the system clock (eg NTP compensation).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message