Bug #6943

Graph based SCL modules leaked when dependencies change

Added by Hannu Niemistö about 1 year ago. Updated 11 months ago.

Status:ClosedStart date:2017-01-09
Priority:4Due date:2017-01-15
Assignee:Hannu Niemistö% Done:

100%

Category:-Spent time:-
Target version:2017-03
Release notes:Fixed a memory leak related to recompilation of graph based SCL modules when their dependencies change.
Tags: 1.27.0
Story points-
Velocity based estimate-
ReleaseSimantics 1.27.0Release relationshipAuto

Associated revisions

Revision 8561e498
Added by Hannu Niemistö about 1 year ago

Fixed memory leaks of SCL module listening systems

The main addition in this change are backlinks from UpdateListeners to
Observables. They make it possible to implement
UpdateListener.stopListening that removes the listener from all
Observables. This method is called automatically before the listener is
notified about the change, but client code can also call it when it
becames disinterested about changes.

Because now the client code is reposible for signaling when the
listening stops, the listeners are no more store to WeakHashMap in
ModuleEntry.

This change also contains a change in the default imports of some graph
based modules (Prelude -> StandardLibrary).

refs #6943

Change-Id: I7cf8d12b610ab22a70300d9491b645fa34dce620

History

#1 Updated by Antti Villberg about 1 year ago

  • Target version changed from 2017-02 to 2017-03

#2 Updated by Hannu Niemistö about 1 year ago

  • Status changed from New to Feedback

#3 Updated by Tuukka Lehtonen about 1 year ago

  • Tags set to 1.27.0
  • Release set to 52

#4 Updated by Antti Villberg about 1 year ago

  • Status changed from Feedback to Closed

#5 Updated by Hannu Niemistö 12 months ago

  • Release notes set to Fixed a memory leak related to recompilation of graph based SCL modules when their dependencies change.

#6 Updated by Tuukka Lehtonen 11 months ago

  • % Done changed from 0 to 100

Also available in: Atom PDF