Uploaded image for project: 'CacheBox'
  1. CACHEBOX-46

CacheboxProvider metadata and stores: use CFML functions on java hash maps breaks concurrency

    Details

      Description

      For example, in Lucee at least, StructKeyArray( pool ) is not thread safe and leads to ArrayIndexOutOfBounds errors while the pool is having entries cleared. Can and should use methods defined on ConcurrentHashMap instead to preserve thread safety of these objects and, indeed, improve performance (my own simple tests showed native methods ~ 3x faster than StructKeyArray())

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: