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

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

|[patch|https://github.com/apache/cassandra/compare/trunk...ifesdjeen:CASSANDRA-15008-trunk]|[tests|https://circleci.com/workflow-run/4a966220-3274-40ea-b543-cf5148cf121d]|

> 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. 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