[Issue 14597] New: TraceHandler should be @nogc
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun May 17 04:10:53 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14597
Issue ID: 14597
Summary: TraceHandler should be @nogc
Product: D
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: code at dawg.eu
A lot of exceptions in the GC and some in the runtime depend on a non
allocating throw mechanism, because of reentrant and init order problems.
We need to change TraceHandler to @nogc and fix the implementations.
For backwards compatibility TraceHandlers that allocate should be allowed, but
a dedicated boolean flag should suppress traces in situations where it would
cause a problem.
http://dlang.org/phobos/core_runtime.html#.Runtime.traceHandler
--
More information about the Digitalmars-d-bugs
mailing list