This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git.
from 70cd8b8 Lucene.Net.Tests.Index.TestIndexWriter: Added Timeout and
Deadlock attributes to TestThreadInterruptDeadlock() and
TestTwoThreadsInterruptDeadlock(), since they sometimes hang
new 1fe3b48 Lucene.Net.Support.WeakDictionary: Changed WeakKey to use
WeakReference<T> instead of WeakReference to avoid problems with garbage
collection (see #506).
new ddfb7b2 Lucene.Net.Support.WeakDictionary: Changed backing collection
from J2N.Collections.Generic.Dictionary<TKey, TValue> to
ConcurrentDictionary<TKey, TValue> to allow reap to function while doing a
forward iteration through the collection.
new 89bad64 BUG: Lucene.Net.Index.IndexReader: Use
ConditionalWeakTable/WeakDictionary to ensure dead elements are pruned and
garbage collected (fixes #506).
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/Lucene.Net/Index/IndexReader.cs | 29 +++++++++---
src/Lucene.Net/Support/IdentityWeakReference.cs | 59 -------------------------
src/Lucene.Net/Support/WeakDictionary.cs | 53 +++++++++++-----------
3 files changed, 49 insertions(+), 92 deletions(-)
delete mode 100644 src/Lucene.Net/Support/IdentityWeakReference.cs