Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2051

CachedItem's comments and code are inconsistent wrt. syncronization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.1.6
    • 10.12.1.1
    • Services
    • None
    • Performance

    Description

      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.

      Attachments

        1. d2051-1a-remove.diff
          10 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            dyret Dyre Tjeldvoll
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: