Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-934

Replace synchronized with a Semaphore for better performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.7, 2.0.8
    • 2.0.8
    • Core
    • Window 8 Pro x64, JDK 7

    Description

      Replacing the synchronized block with a Semaphore in the ProtocolCodecFilter provides a lot of benefit in terms of locking and also reduces CPU utilization. See attached git diff.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mondain Paul Gregoire
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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