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 "Dyre Tjeldvoll (JIRA)" <ji...@apache.org> on 2006/11/07 14:26:50 UTC

[jira] Created: (DERBY-2051) CachedItem's comments and code are inconsistent wrt. syncronization

CachedItem's comments and code are inconsistent wrt. syncronization
-------------------------------------------------------------------

                 Key: DERBY-2051
                 URL: http://issues.apache.org/jira/browse/DERBY-2051
             Project: Derby
          Issue Type: Improvement
          Components: Documentation, Performance, Services
    Affects Versions: 10.2.1.6
            Reporter: Dyre Tjeldvoll
             Fix For: 10.3.0.0


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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DERBY-2051) CachedItem's comments and code are inconsistent wrt. syncronization

Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (DERBY-2051) CachedItem's comments and code are inconsistent wrt. syncronization

Posted by "Daniel John Debrunner (JIRA)" <ji...@apache.org>.
     [ 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: 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.