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

matthew_swift
18.16.2010 1ed7d3c70b5b209327a1112cb00e532162fe24ec
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
commit1ed7d3c70b5b209327a1112cb00e532162fe24ec
tree 93f13ce2606fd499fd9c94cbef17346b1ba41d4d tree | zip | gz
parent 02f22e351f384aeecf7b64f78158767e862cae71 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
opendj-sdk/opends/src/server/org/opends/server/protocols/asn1/ASN1.java 15 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/asn1/ASN1ByteChannelWriter.java 28 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 7 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/asn1/ASN1ByteChannelWriterTestCase.java 6 ●●●●● diff | view | raw | blame | history