mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
18.16.2010 bf7e97e3cb610d18d4fbe62e614cdb55c2d24930
refs
author matthew_swift <matthew_swift@localhost>
Saturday, September 18, 2010 00:16 +0200
committer matthew_swift <matthew_swift@localhost>
Saturday, September 18, 2010 00:16 +0200
commitbf7e97e3cb610d18d4fbe62e614cdb55c2d24930
tree 0f2b1068dae833a04f7941abf9ab366f342fb03c tree | zip | gz
parent a58afcd179024a3e6509196eedf4627fa93a268c view | diff
Fix potential deadlock which may occur while performing simultaneous large searches and modify operations on the same connection. Use single channel lock per connection and share it across thread local ASN1 writers.
4 files modified
56 ■■■■■ changed files
opends/src/server/org/opends/server/protocols/asn1/ASN1.java 15 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/asn1/ASN1ByteChannelWriter.java 28 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 7 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/ASN1ByteChannelWriterTestCase.java 6 ●●●●● diff | view | raw | blame | history