uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-3714) DUCC agent garbage collector doesnt accumulate time correctly
Date Tue, 01 Apr 2014 14:30:16 GMT
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)

Mime
View raw message