[
https://issues.apache.org/jira/browse/CASSANDRA-13271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889991#comment-15889991
]
Robert Stupp commented on CASSANDRA-13271:
------------------------------------------
[~vroyer59], can you please setup a branch against *trunk* - not against 3.0 or
3.11? 3.0 is in "supported" status - i.e. just bugfixes.
Beside that, the branch looks better now. Few points though:
* there are some unnecessary new imports in that branch
* the change for {{DynamicCompositeType}} is missing
When that's done, I'll trigger a CI run.
> Reduce lock contention on instance factories of ListType and SetType
> --------------------------------------------------------------------
>
> Key: CASSANDRA-13271
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13271
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: vincent royer
> Priority: Minor
> Labels: performance
> Fix For: 4.x
>
> Attachments: 0001-CASSANDRA-13271-computeIfAbsent.patch,
> 0001-CASSANDRA-13271-singleton-factory-concurrency-opimiz.patch
>
>
> By doing some performance tests, i noticed that getInstance() in
> org.apache.cassandra.db.marshal.ListType and SetType could suffer from lock
> contention on the singleton factory getInstance(). Here is a proposal to
> reduce lock contention by using a ConcurrentMap and the putIfAbsent method
> rather than a synchronized method.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)