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

Alex Petrov updated CASSANDRA-15008:
------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Ready to Commit)

> NamedThreadLocalFactory unnecessarily wraps runnable into thread local 
> deallocator 
> -----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15008
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15008
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Alex Petrov
>            Assignee: Alex Petrov
>            Priority: Minor
>
> FastThreadLocalThread already does wrapping of runnable by calling 
> [FastThreadLocalRunnable.wrap in constructor in Netty 
> code|https://github.com/netty/netty/blob/netty-4.1.18.Final/common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java#L60].
>  Second call is unnecessary and incurs unnecessary additional wrapping.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to