|
|
|
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
|
|
title: finalizers in duk_destroy_heap() when only refcounting is enabled
|
|
|
|
desc: |-
|
|
|
|
Currently a few mark-and-sweep cycles are executed before a heap is
|
|
|
|
destroyed. When mark-and-sweep is not enabled, finalizers do not run
|
|
|
|
at all on heap destruction.
|
|
|
|
|
|
|
|
Perhaps change behavior so that regardless of collection model, run
|
|
|
|
finalizers once. This would require a heap walk separate from the
|
|
|
|
mark-and-sweep code (for mark-and-sweep enabled builds), so perhaps
|
|
|
|
do this only when mark-and-sweep is disabled (a sort of a "mini mark
|
|
|
|
and sweep").
|
|
|
|
type: :task
|
|
|
|
component: duk
|
|
|
|
release: v0.10
|
|
|
|
reporter: sva <sami.vaarala@iki.fi>
|
|
|
|
status: :closed
|
|
|
|
disposition: :reorg
|
|
|
|
creation_time: 2013-12-25 19:13:45.473049 Z
|
|
|
|
references: []
|
|
|
|
|
|
|
|
id: c02db670dba1008f62384c43b4d4012ab8da7840
|
|
|
|
log_events:
|
|
|
|
- - 2013-12-25 19:13:45.645970 Z
|
|
|
|
- sva <sami.vaarala@iki.fi>
|
|
|
|
- created
|
|
|
|
- ""
|
|
|
|
- - 2014-01-16 21:33:07.784188 Z
|
|
|
|
- sva <sami.vaarala@iki.fi>
|
|
|
|
- assigned to release v0.10 from v0.9
|
|
|
|
- ""
|
|
|
|
- - 2014-01-30 22:56:02.614521 Z
|
|
|
|
- sva <sami.vaarala@iki.fi>
|
|
|
|
- closed with disposition reorg
|
|
|
|
- ""
|