www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13691] New: Add nogc at the top of system modules like


          Issue ID: 13691
           Summary: Add  nogc at the top of system modules like
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: Marco.Leise gmx.de

Trivial, but I thought I'd write it down as a formal bug report to be able to
refer to it in my code comments. There is Phobos  nogc code, which usually
means "no heap activity" and there is  nogc code that just manages memory
differently and often relies on system functions, which are not yet marked
E.g. I found that with madvise(..., MADV_DONTNEED) you can quickly reset memory
blocks to all-zeros and free up the resident memory pages again.

Nov 05 2014