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

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

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Done
    • Critical
    • 8.5.2
    • None
    • None
    • 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

            klyvechen klyvechen
            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