You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2014/09/17 13:35:34 UTC
[jira] [Resolved] (DERBY-2051) CachedItem's comments and code are
inconsistent wrt. syncronization
[ https://issues.apache.org/jira/browse/DERBY-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen resolved DERBY-2051.
---------------------------------------
Resolution: Fixed
Fix Version/s: 10.12.0.0
Issue & fix info: (was: Patch Available)
> 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
> Fix For: 10.12.0.0
>
> 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)