www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14922] New: 'new' does not provide information about the

https://issues.dlang.org/show_bug.cgi?id=14922

          Issue ID: 14922
           Summary: 'new' does not provide information about the
                    sharedness or immutability to the GC
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: rsw0x rsw0x.me

Neither RTTI nor RTInfo can convey any information about the (im)mutability or
sharedness of an allocation to the GC.

This makes it impossible to write a GC that takes advantage of
immutability/sharedness.

--
Aug 14 2015