Synchronized access to bundle state inside BundleInfo class creates an unnecessary contention point in environments where bundle.getState() is called a lot.
Declaring m_state variable volatile and removing synchronization from setState() and getState() will do the trick.I will attach the patch.
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||felix-1.6.0 [ 12313567 ]|
|Resolution||Fixed [ 1 ]|
|Assignee||Richard S. Hall [ rickhall ]|