Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348770 - weaving hook support creates an extra byte[] copy each class load when it is not necessary
Summary: weaving hook support creates an extra byte[] copy each class load when it is ...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: Juno M1   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 346518
  Show dependency tree
 
Reported: 2011-06-08 11:42 EDT by Thomas Watson CLA
Modified: 2011-06-08 11:59 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 Thomas Watson CLA 2011-06-08 11:42:20 EDT
+++ This bug was initially created as a clone of Bug #346518 +++

In org.eclipse.osgi.internal.baseadaptor.weaving.WeavingHookConfigurator.processClass(String, byte[], ClasspathEntry, BundleEntry, ClasspathManager) there is a call to org.eclipse.osgi.internal.baseadaptor.weaving.WovenClassImpl.setHooksComplete() which I think is unnecessary and results in an extra byte[] copy for each class load.
Comment 1 Thomas Watson CLA 2011-06-08 11:59:02 EDT
I released the patch from bug346518 to HEAD.