[ https://issues.apache.org/jira/browse/UIMA-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerry Cwiklik closed UIMA-3714.
-------------------------------
Resolution: Fixed
Fixed how GC count and time is accumulated from java's garbage collector beans. Replaced =+
with +=.
> DUCC agent garbage collector doesnt accumulate time correctly
> -------------------------------------------------------------
>
> Key: UIMA-3714
> URL: https://issues.apache.org/jira/browse/UIMA-3714
> Project: UIMA
> Issue Type: Bug
> Components: DUCC
> Affects Versions: 1.0-Ducc
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Priority: Minor
>
> The garbage collector in the agent has a subtle bug that prevents accumulation of gc
correctly. While iterating over GC JMX Beans the code tries to accumulate time as follows:
> time =+ bean.gcTime;
> This obviously doesnt do what is intended. The correct code should be
> time += bean.gcTime;
--
This message was sent by Atlassian JIRA
(v6.2#6252)
|