[Mono-devel-list] Typed allocation facility in runtime

Paolo Molaro lupus at ximian.com
Fri Apr 4 11:44:10 EST 2003


On 04/04/03 Martin Baulig wrote:
> I haven't looked at the code yet, but I'd like to use something similar for the debugger's
> MemoryStream implementation since it allocates very large objects which can not contain
> any pointers (the contents of the symbol file).  Is it possible to call this from managed
> code somehow to tell the garbage collector to allocate an object of XXX bytes which cannot
> contain any pointers ?

No, this is done automatically by the runtime when enabled, user code
has no business telling the runtime about pointers (the runtime has all
the info anyway).

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list