db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2051) CachedItem's comments and code are inconsistent wrt. syncronization
Date Tue, 20 Mar 2007 21:11:32 GMT

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

Daniel John Debrunner updated DERBY-2051:

    Component/s:     (was: Documentation)

I think documentation component is for user visible documentation.

> 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: Performance, Services
>    Affects Versions:
>            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.

View raw message