I was wondering what the point of synchronizing methods like allRRsets, oneRRSet, lookup and exactName is. Could we possibly use a ReEntrantReadWriter Lock (only Read locks in this regard) to attain the same behavior. This should result in considerable performance increase and less resource contention. Any feedback is welcome.
I was wondering what the point of synchronizing methods like
allRRsets,oneRRSet,lookupandexactNameis. Could we possibly use aReEntrantReadWriterLock (only Read locks in this regard) to attain the same behavior. This should result in considerable performance increase and less resource contention. Any feedback is welcome.