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)

Reply via email to