Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3823

org.zkoss.lang.Library must not use synchronized blocks

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      org.zkoss.lang.Library now use synchronized blocks for read and write _props hash map.
      When we have huge load on system many thread lock on this synchronized blocks.

      Need to rewrite code to split read and write locks. Use java.util.concurrent.ConcurrentHashMap or java.util.concurrent.locks.ReentrantReadWriteLock for synchronization.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            DevChu DevChu
            Reporter:
            pe4enko pe4enko
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: