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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.5.2
    • 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.

        Attachments

          Activity

            People

            Assignee:
            klyvechen klyvechen
            Reporter:
            pe4enko pe4enko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified