[
https://issues.apache.org/jira/browse/DERBY-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Anders Hatlen updated DERBY-2051:
--------------------------------------
Issue & fix info: Patch Available
Assignee: Knut Anders Hatlen
> CachedItem's comments and code are inconsistent wrt. syncronization
> -------------------------------------------------------------------
>
> Key: DERBY-2051
> URL: https://issues.apache.org/jira/browse/DERBY-2051
> Project: Derby
> Issue Type: Improvement
> Components: Services
> Affects Versions: 10.2.1.6
> Reporter: Dyre Tjeldvoll
> Assignee: Knut Anders Hatlen
> Attachments: d2051-1a-remove.diff
>
>
> The javadoc comment for CachedItem says that the state should only be
> accessed by the CacheManager, and that no synchronization is required. But a
> subset of the accessors/mutators are declared synchronized. If
> synchronization is unnecessary it should be removed to improve performance.
> If it is required, this should be properly explained in the comments.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)