1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 01:45:33 +02:00
Find a file
Andrey Loskutov 398307d9bb Bug 522411 - ConcurrentModificationException below
CModelListener.addLastRecentlyUsed (thrown in
LinkedHashMap$LinkedHashIterator.nextNode)

CModelListener reacts on all the resource events, but is NOT MT-safe due
the not guarded access to the "fLRUs" map, which can be iterated AND
modified at same time by different threads.

This commit introduces synchronization on the "fLRUs" map field. This is
safe as the field is private and not exposed to other objects, and the
code inside synchronized block does not call into other locks which
might interfere.

Change-Id: I3e601f02e93e40a1454c9a581fa46378904eb3dc
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-09-18 17:01:06 +02:00
.mvn releng: Make use of Tycho POM-less functionality 2017-02-13 23:19:56 -04:00
build Bug 522077 - New Autotools project doesn't open source file by default 2017-09-11 11:49:01 -04:00
codan Bug 486082 - Have ProblemBindingChecker report errors of type IProblemBinding.SEMANTIC_INVALID_TYPE 2017-06-19 00:26:59 -04:00
core Bug 522411 - ConcurrentModificationException below 2017-09-18 17:01:06 +02:00
cross Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
debug Disable Mac signing of the standalone debugger app. 2017-09-11 13:37:22 -04:00
doc Bug 517516: Update N&N in CDT docs 2017-05-31 07:39:52 -04:00
dsf Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
dsf-gdb Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
jtag Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
launch Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
llvm Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
lrparser Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
lsp4e-cpp A basic LSP4E integration with Clangd 2017-09-01 11:31:57 -04:00
memory Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
native Fix serial port naming on Windows to ensure get() method works. 2017-06-19 10:21:25 -04:00
qt Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
releng Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
remote Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
testsrunner Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
toolchains/arduino Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
upc Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
util Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
visualizer Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
windows Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
xlc Update feature versions to CDT 9.4. 2017-09-11 11:18:42 -04:00
.gitignore Ignore NFS-created files. 2012-11-08 13:34:54 -08:00
pom.xml releng: Enforce JavaSE-1.8 EE for tycho-eclipserun-plugin 2017-05-26 12:31:20 -04:00