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: [email protected]
          Reporter: [email protected]

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

--

Reply via email to