[ 
https://issues.apache.org/jira/browse/CASSANDRA-15008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765184#comment-16765184
 ] 

Alex Petrov commented on CASSANDRA-15008:
-----------------------------------------

Committed to trunk with [c49d42f318c735676d1cb8984c1dee8ae46b3c0d 
|https://github.com/apache/cassandra/commit/c49d42f318c735676d1cb8984c1dee8ae46b3c0d].

> 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