Community
Participate
Working Groups
In the implementation of NotifierToKeyToListenersSetMap.addListener public void addListener(EObject notifier, Object key, Object listener) { Map keys = (Map) listenersMap.get(notifier); if (keys == null) { keys = new HashMap(); listenersMap.put(notifier, keys); } Set listenersSet = (Set) keys.get(key); if (listenersSet == null) { listenersSet = new HashSet(); keys.put(key, listenersSet); } listenersSet.add(listener); } By using initial size of 4 for both HashMap and HashSet, reduces the retained size of memory in one scenario from 3,138,288 to 2,416,736 bytes.
Fixed
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug