You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was originally created at: 2008-07-24 09:46:07.
This issue was reported by: pankrat.
pankrat said at 2008-07-24 09:46:08
This patch avoids creating unnecessary reference cycles. SCons throws a
division-by-zero exception to get access and walk the parent stack-frames. This
is no problem as long as the current stack-frame isn't referred to by a local
variable.
Empirical observations indicate that approximately half of the objects involved
in reference cycles and collected by the garbage collector are held because of
those frame objects. This can be easily avoided by starting the iteration with
the parent stack-frame, instead of the own stack-frame.
I believe this to be a zero-cost patch without the need for additional
documentation or tests.
For example, here is the summary of the Heapmonitor Garbage tracker for an
up-to-date check of Ardour:
This issue was originally created at: 2008-07-24 09:46:07.
This issue was reported by:
pankrat
.pankrat said at 2008-07-24 09:46:08
pankrat said at 2008-07-24 09:47:22
gregnoel said at 2008-07-29 06:09:40
gregnoel said at 2008-09-09 14:55:18
pankrat said at 2008-09-10 09:25:15
More information about this issue is at http://www.scons.org/wiki/LudwigHaehne/ReferenceCycles.
pankrat attached leak_frame.patch at 2008-07-24 09:47:21.
The text was updated successfully, but these errors were encountered: