From 934946ceef4fe7e716f2763b17c115f0b2ce8ba1 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Mon, 30 Nov 2015 21:23:45 +0200 Subject: [PATCH] Releases: stronger finalizer guarantee --- RELEASES.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/RELEASES.rst b/RELEASES.rst index 579b80e113..8b888a5b3e 100644 --- a/RELEASES.rst +++ b/RELEASES.rst @@ -1220,6 +1220,15 @@ Planned function with a .fileName is found which improves error reporting for e.g. "[1,2,3].forEach(null)" (GH-455) +* Provide a stronger finalizer re-entry guarantee than before: a finalizer + is called exactly once (at the latest in heap destruction) unless the + target object is rescued, in which case the finalizer is called once per + "rescue cycle" (GH-473) + +* Better finalizer behavior for heap destruction: finalized objects may + create new finalizable objects whose finalizers will also be called + (GH-473) + * Add a combined duktape.c without #line directives into the dist package, as it is a useful alternative in some environments (GH-363)