/[Apache-SVN]
ViewVC logotype

Revision 1861034


Jump to revision: Previous Next
Author: tjwatson
Date: Tue Jun 11 13:12:39 2019 UTC (4 years, 10 months ago)
Changed paths: 1
Log Message:
FELIX-6140: possible deadlock in ResolverImpl.EnhancedExecutor.await()

Change await implementation to use a Queue<Future<Void>> to avoid
inaccurate accounting of task count to wait for completion when an
exception is thrown from executor.execute() method. There are scenarios
where the resolver algorithm can take a huge amount of memory resulting
in out of memory errors.  If this happens to occur when dispatching a
task to the executor then the count was never decremented.

Changed paths

Path Details
Directoryfelix/trunk/resolver/src/main/java/org/apache/felix/resolver/ResolverImpl.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26