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

Reduce use of synchronized collections in GenericLanguageConnectionContext

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.3.1.4
    • Component/s: SQL
    • Labels:
      None
    • Bug behavior facts:
      Performance

      Description

      In org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext, it is probably safe to replace some of the synchronized collections with unsynchronized ones. This should be investigated, and the unnecessary synchronization should be removed. See discussion here: http://www.nabble.com/Use-of-synchronized-containers-in-engine-code-tf2754469.html

        Attachments

        1. derby-2150-1a.diff
          7 kB
          Knut Anders Hatlen
        2. derby-2150-1b.diff
          8 kB
          Knut Anders Hatlen
        3. derby-2150-2a.diff
          8 kB
          Knut Anders Hatlen
        4. derby-2150-2a.stat
          0.3 kB
          Knut Anders Hatlen

          Activity

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: