Uploaded image for project: 'ColdBox Platform'
  1. COLDBOX-744

InterceptorState + EventPool uses syncrhonizedMap that has locking issues: refactor to avoid

    Details

    • Type: Improvement
    • Status: Resolved (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 5.3.0
    • Components: None
    • Labels:
      None

      Description

      /coldbox/system/core/events/EventPool.cfc

      Uses a linkedHashMap + then collections.synchronizedMap( linkedHashMap ); to maintain its pool. SynchronizedMap has locking issues and should be avoided.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lmajano Luis Majano
                Reporter:
                dominicwatson Dominic Watson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: