Skip to content

I20171211-2000

@BeckerWdf BeckerWdf tagged this 11 Dec 12:53
Early classes of the Java API, such as Vector were synchronized to 
make them thread-safe. Unfortunately, synchronization has a big 
negative impact on performance, even when using these collections 
from a single thread.

It is better to use their new unsynchronized replacements like 
ArrayList or LinkedList instead of Vector

Change-Id: I61d418e4e87f17c96d837573b62d672de95eae9f
Signed-off-by: Matthias Becker <ma.becker@sap.com>
Assets 2
Loading