You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2014/04/01 16:30:16 UTC

[jira] [Created] (UIMA-3714) DUCC agent garbage collector doesnt accumulate time correctly

Jerry Cwiklik created UIMA-3714:
-----------------------------------

             Summary: 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)