You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremy Hanna (JIRA)" <ji...@apache.org> on 2019/05/31 17:20:00 UTC

[jira] [Commented] (CASSANDRA-15008) NamedThreadLocalFactory unnecessarily wraps runnable into thread local deallocator

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

Jeremy Hanna commented on CASSANDRA-15008:
------------------------------------------

Should the fix version be set to 4.0 for this ticket?

> 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: Low
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org