Bug 496408 - Disposing an IEclipseContext is not thread safe (causes
infinite loop with 100% CPU)

Wrapped all created WeakHashMap instances into
Collections.synchronizedMap() to avoid endless loops on concurrent
access to the maps. 

See for example similar bug on Tomcat:
https://bz.apache.org/bugzilla/show_bug.cgi?id=50078.

Change-Id: I3f42f259f56630293f6bd0b3c434f27e9d2feed9
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2 files changed
tree: f637df829a12835a9430538677ba00dd73e5b7ed
  1. bundles/
  2. features/
  3. tests/
  4. .gitignore
  5. CONTRIBUTING.md
  6. pom.xml