Derby
  1. Derby
  2. DERBY-2150

Reduce use of synchronized collections in GenericLanguageConnectionContext

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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

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

        Activity

        Knut Anders Hatlen created issue -
        Knut Anders Hatlen made changes -
        Field Original Value New Value
        Attachment derby-2150-1a.diff [ 12347285 ]
        Knut Anders Hatlen made changes -
        Attachment derby-2150-1b.diff [ 12348651 ]
        Knut Anders Hatlen made changes -
        Assignee Knut Anders Hatlen [ knutanders ]
        Knut Anders Hatlen made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Knut Anders Hatlen made changes -
        Derby Info [Patch Available]
        Knut Anders Hatlen made changes -
        Derby Info [Patch Available]
        Knut Anders Hatlen made changes -
        Attachment derby-2150-2a.diff [ 12348730 ]
        Attachment derby-2150-2a.stat [ 12348731 ]
        Knut Anders Hatlen made changes -
        Derby Info [Patch Available]
        Knut Anders Hatlen made changes -
        Derby Info [Patch Available]
        Fix Version/s 10.3.0.0 [ 12310800 ]
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Dag H. Wanvik made changes -
        Component/s Performance [ 11709 ]
        Dag H. Wanvik made changes -
        Derby Categories [Performance]
        Gavin made changes -
        Workflow jira [ 12391561 ] Default workflow, editable Closed status [ 12798284 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development