[JBoss JIRA] Resolved: (NETTY-352) Dead lock in MemoryAwareThreadPoolExecutor

Trustin Lee (JIRA) jira-events at lists.jboss.org
Thu Jan 13 01:17:49 EST 2011


     [ https://issues.jboss.org/browse/NETTY-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee resolved NETTY-352.
-------------------------------

    Resolution: Done


Semaphore still doesn't work as expected and results in a race condition.  To fix this issue fundamentally, I replaced it with a simple custom concurrency construct:

https://github.com/netty/netty/commit/23f33629cab8c7773365ec19f4a8133071007cff

> Dead lock in MemoryAwareThreadPoolExecutor
> ------------------------------------------
>
>                 Key: NETTY-352
>                 URL: https://issues.jboss.org/browse/NETTY-352
>             Project: Netty
>          Issue Type: Bug
>    Affects Versions: 3.2.1.Final, 3.2.2.Final, 3.2.3.Final
>            Reporter: Trustin Lee
>            Assignee: Trustin Lee
>            Priority: Critical
>             Fix For: 3.2.4.Final
>
>
> The semaphore in MemoryAwareThreadPoolExecutor is sometimes not released completely under load, causing stall I/O threads.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the netty-dev mailing list