mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Mirror of https://github.com/eclipse-cdt/cdt
![]() This was heavy and lots of files were change. The problem: to create the CElementInfo we use to synchronize of the CModelManager singleton instance, this was handy and allowed us to serialize the creation of the proxy info and save in the LRU cache. Then came Eclipse-3.0 with job spawning everywhere, lots of deadlock since the CModelManager was lock and the singleton is the center to get all the info. We use the same scheme as the JDT by using a ThreadLocal class cache to collect the information. We fixed a couple of bug allong the way and probably introduce some. The tests were doing something stupid, by creating directly the TranslationUnit: new TranslationUnit(project, file); This does not work since only the sourceRoot can be the parent of a TranslationUnit, the tests are now fix bug we should restrict access of the class in the core model after 2.0. |
||
---|---|---|
build | ||
core | ||
debug | ||
doc | ||
launch/org.eclipse.cdt.launch | ||
releng |