commit | 6fd51ccf52d0a6c35917eb2f6119bf314b21a7fc | [log] [tgz] |
---|---|---|
author | Gayan Perera <gayanper@gmail.com> | Sun Jun 13 17:40:49 2021 +0200 |
committer | Andrey Loskutov <loskutov@gmx.de> | Sat Jul 10 14:21:21 2021 -0400 |
tree | 2e3ba4439787cc02db59b9cb86c8eed7fafd5cb4 | |
parent | 6c76a6f9d0e148e14eda50521e350f25d98a6825 [diff] |
Bug 574171 - Fix deadlock when updating meta index When meta index is tried to update from another thread through a synchronized method on IndexManager, while the indexing thread which holds the meta index RW lock tries to call a synchronize method on IndexManager, they end up in a deadlock. This happens in situations where files are requested to be removed from index. To avoid this the fix tries to push such meta index updates which are coming from non indexing threads into the indexing thread and run as soon as possible to avoid ordering issues. Change-Id: Ie7af1efd2f908f6f06c76f4b817e53247f2e95f7 Signed-off-by: Gayan Perera <gayanper@gmail.com> Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/181878 Tested-by: JDT Bot <jdt-bot@eclipse.org> Reviewed-by: Andrey Loskutov <loskutov@gmx.de>
This is the core part of Eclipse's Java development tools. It contains the non-UI support for compiling and working with Java code, including the following:
For more information and important links, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.