You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Daisuke Kobayashi (JIRA)" <ji...@apache.org> on 2012/10/10 06:51:03 UTC

[jira] [Updated] (FLUME-1569) MemoryChannel uses an Integer has a lock

     [ https://issues.apache.org/jira/browse/FLUME-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daisuke Kobayashi updated FLUME-1569:
-------------------------------------

    Attachment: FLUME-1569.txt
    
> MemoryChannel uses an Integer has a lock
> ----------------------------------------
>
>                 Key: FLUME-1569
>                 URL: https://issues.apache.org/jira/browse/FLUME-1569
>             Project: Flume
>          Issue Type: Improvement
>    Affects Versions: v1.2.0, v1.3.0
>            Reporter: Brock Noland
>            Priority: Trivial
>              Labels: patch
>         Attachments: FLUME-1569.txt
>
>
> MemoryChannel uses an Integer has a lock, field queueLock. Some IDEs will intern Integer objects. We should use new Object() here to ensure this doesn't happen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira