Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
subsystem-2.0.2
Description
Currently, when given an already existing Capability at construction, BasicCapability will make a copy of the attributes and directives. This is not really necessary since a properly implemented Capability will be effectively immutable as required by the OSGi API.
Profiling showed that BasicCapability(Capability, Resource) was taking up 4.6%, or 1550 ms, of the total time. After the optimization, this no longer registered with a sampling time of 50 ms.
BasicCapability(Capability, Resource) will now simply reuse the already existing, and effectively immutable, attribute and directive maps of the provided capability.
Attachments
Attachments
Issue Links
- blocks
-
ARIES-1377 Subsystems 2.0.4 Release
- Closed
- relates to
-
ARIES-1357 BasicSubsystem can be used by the subsystem install process a factor 6 times faster
- Closed