1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00
cdt/core
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
..
org.eclipse.cdt.core Bug 522411 - ConcurrentModificationException below 2017-09-18 17:01:06 +02:00
org.eclipse.cdt.core.linux Remove profiles that helped skip ppc64le 2017-02-08 09:51:43 -05:00
org.eclipse.cdt.core.linux.ppc Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.linux.ppc64 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.linux.ppc64le Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.linux.x86 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.linux.x86_64 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.macosx Bug 519886 - eclipse CDT failed to create PTY on macOS 10.13 beta 2017-09-04 06:35:15 -04:00
org.eclipse.cdt.core.native releng: Make use of Tycho POM-less functionality 2017-02-13 23:19:56 -04:00
org.eclipse.cdt.core.tests Bug 521543 - Correctly identify narrowing conversion to boolean 2017-09-07 01:32:17 -04:00
org.eclipse.cdt.core.win32 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.win32.x86 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.core.win32.x86_64 Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.ui Bug 520913 - hover / open declaration for decltype and typeof keywords 2017-09-02 08:35:10 +02:00
org.eclipse.cdt.ui.tests Bug 456224 - CPPDeferredClassInstance not bound to partial template 2017-09-16 09:08:21 +02:00
pom.xml releng: Make use of Tycho POM-less functionality 2017-02-13 23:19:56 -04:00