Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What are the techniques to reduce Lock contention?

Pragya Keshap answered on February 6, 2023 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers

  • What is Lock contention in multithreading?
  • Which technique is used in ReadWriteLock class for reducing Lock contention?
  • Concurrency and Lock

  • What are the techniques to reduce Lock contention?

    0

    There are following main techniques to reduce Lock contention:

    1. Reduce the scope of lock.

    2. Reduce object pooling.

    3. Reduce the number of times a certain lock can be acquired.

    4. Avoid synchronization at unnecessary places.

    5. Implement hardware supported Optimistic locking in place

    of synchronization.

    https://www.ibm.com/docs/en/mon-diag-tools?topic=perspective-resolving-lock-contention

    Popularity 2/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 06 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.