Bug 11408 – [GC] allow GC allocations in finalizers

Status
NEW
Severity
enhancement
Priority
P4
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-01T00:12:09Z
Last change time
2024-12-07T13:33:03Z
Assigned to
No Owner
Creator
Martin Nowak
Moved to GitHub: dmd#17263 →

Comments

Comment #0 by code — 2013-11-01T00:12:09Z
This has been disabled due to possible memory corruptions in https://github.com/D-Programming-Language/druntime/pull/16. The problem is that cleanup or error checking often does require memory allocations (e.g. bug 7349). We should investigate whether it's possible to have an extra pool for allocations from finalizers.
Comment #1 by robert.schadek — 2024-12-07T13:33:03Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17263 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB