Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365857

Summary: Legacy code in CodeServiceClientProxy impacts performance
Product: z_Archived Reporter: Andi Bur <andi.bur>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Andi Bur CLA 2011-12-07 04:52:16 EST
The CodeServiceClientProxy.getAllCodeTypeClasses(String) contains legacy code intersecting all available code types from server-side with those available on client-side. The first invocation of this method takes a lot of time because all installed bundles are searched for code type classes (by introspecting the bundles' locations using a BundleBrowser).

Searching code types on client-side is not required anymore because the code types available on server-side are returned as BundleClassDescriptor, i.e. a <bundle name, class name> pair.

Code types available on server-side only can still be detected, but those available on client-side only are not reported any more as phantom code. However performance is considered more critical.
Comment 1 Andi Bur CLA 2011-12-07 05:25:08 EST
Removed legacy code and check BundleClassDescriptors returned from server-side by loading the classes. Those that are not available on client-side are reported.
Comment 2 Matthias Zimmermann CLA 2012-07-09 06:49:55 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)