[
https://issues.apache.org/jira/browse/CASSANDRA-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Brosius updated CASSANDRA-1795:
------------------------------------
Attachment: avoid_local_sync_collections.diff
> [patch] avoid unnecessary use of synchronized collection for non escaped
> local varables
> ---------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1795
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1795
> Project: Cassandra
> Issue Type: Improvement
> Environment: ubuntu jdk1..6.17 ant 1.8
> Reporter: Dave Brosius
> Priority: Trivial
> Attachments: avoid_local_sync_collections.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> code uses a Hashtable even tho the collection is a local variable that is not
> escaped from the method. The synchronization is not needed, switch to HashMap.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.