Project

General

Profile

« Previous | Next » 

Revision 11b893ac

Added by Ayco Hollemann over 10 years ago

Made shadow thread pool shrink as threads from the real thread pool get garbage collected

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/validation/ValidationExecutor.java
142 142
			ValidationThread t = (ValidationThread) thread;
143 143
			threads.add(new WeakReference<ValidationThread>(t));
144 144
		}
145
		threads.trimToSize();
145 146
	}
146 147

  
147 148
}

Also available in: Unified diff