diff options
author | Alain Magloire | 2004-06-19 02:43:04 +0000 |
---|---|---|
committer | Alain Magloire | 2004-06-19 02:43:04 +0000 |
commit | a443caeb08f5ebfeb103b91f9ece5f9775887585 (patch) | |
tree | 7936cbc40f8b2ba0176a06f17c5c94ad1d4feb33 /core/org.eclipse.cdt.core/ChangeLog | |
parent | c5c4b73fed85f088415020097567531ebddfe47c (diff) | |
download | org.eclipse.cdt-a443caeb08f5ebfeb103b91f9ece5f9775887585.tar.gz org.eclipse.cdt-a443caeb08f5ebfeb103b91f9ece5f9775887585.tar.xz org.eclipse.cdt-a443caeb08f5ebfeb103b91f9ece5f9775887585.zip |
2004-06-18 Alain Magloire
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.
Diffstat (limited to 'core/org.eclipse.cdt.core/ChangeLog')
-rw-r--r-- | core/org.eclipse.cdt.core/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/ChangeLog b/core/org.eclipse.cdt.core/ChangeLog index e3770feb872..ae0d652fd7f 100644 --- a/core/org.eclipse.cdt.core/ChangeLog +++ b/core/org.eclipse.cdt.core/ChangeLog @@ -1,3 +1,18 @@ +2004-06-18 Alain Magloire + + 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. + 2004-06-18 Andrew Niefer - DeltaProcessor.updateIndexRemoveResource() : discard if removing a project, discard index jobs for that project. |