Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365857 - Legacy code in CodeServiceClientProxy impacts performance
Summary: Legacy code in CodeServiceClientProxy impacts performance
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 04:52 EST by Andi Bur CLA
Modified: 2021-08-19 11:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)