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

Use unsynchronized collections in BackingStoreHashtable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.1.4
    • Store
    • None
    • Performance

    Description

      BackingStoreHashtable uses a Vector and a Hashtable, but doesn't need the synchronization provided by these classes (I think). Replacing them with ArrayList and HashMap could improve performance for some kinds of operations.

      Attachments

        1. derby-2493-aggregate.diff
          7 kB
          Knut Anders Hatlen
        2. derby-2493-aggregate.stat
          0.2 kB
          Knut Anders Hatlen
        3. derby-2493-assert.diff
          6 kB
          Knut Anders Hatlen
        4. derby-2493-assert.stat
          0.3 kB
          Knut Anders Hatlen
        5. derby-2493-hashtable.diff
          11 kB
          Knut Anders Hatlen
        6. derby-2493-vector.diff
          14 kB
          Knut Anders Hatlen
        7. derby-2493-vector.stat
          0.4 kB
          Knut Anders Hatlen

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: