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

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

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Critical Critical
    • 8.5.2
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved:

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