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