XStream
  1. XStream
  2. XSTR-141

Use read/write lock for all cache instances

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Upcoming
    • Component/s: None
    • Labels:
      None

      Description

      Currently, all the internal cache instances are synchronized maps. Most of the time they are only ever being read from, so a lock could be unnecessarily acquired.

      Use a locking strategy like Doug Lea's ReadWriteLock to overcome this.

        People

        • Assignee:
          Unassigned
          Reporter:
          Joe Walnes
        • Votes:
          2 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated: