db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2051) CachedItem's comments and code are inconsistent wrt. syncronization
Date Mon, 29 Jun 2009 14:25:47 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dag H. Wanvik updated DERBY-2051:
---------------------------------

    Derby Categories: [Performance]

> 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
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message