NP.  We just have too many issues to resolve :)

On Thu, 15 May 2008 16:30:52 +0900, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote:

Trustin,

thanks a LOT for having created this JIRA :)

This is something we should have done before starting the discussion, and I wonder why I didn't do it myself ;)


Trustin Lee (JIRA) wrote:
Visibility issue in various configuration properties and a few critical counters.
---------------------------------------------------------------------------------

                 Key: DIRMINA-585
                 URL: https://issues.apache.org/jira/browse/DIRMINA-585
             Project: MINA
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.7, 1.0.10, 2.0.0-M1
            Reporter: Trustin Lee
            Priority: Minor
             Fix For: 2.0.0-M2, 1.0.11, 1.1.8


Configuration properties such as idleTimeForRead, readBufferSize and useReadOperation have visibility issue because they are mutable and non-volatile. All configuration propeties should be declared as volatile and some critical counter properties such as idleCount should be an AtomicInteger or something similar. Detailed discussion is here:

http://markmail.org/message/h4rcitkfit4bdcpl







--
Trustin Lee - Principal Software Engineer, JBoss, Red Hat
--
what we call human nature is actually human habit
--
http://gleamynode.net/

Reply via email to