This article discusses a library called AGM::LibGC for garbage collection in C#. We will take a look at three fundamental problems of reference counting, and state how the solution offered by LibGC has none of these disadvantages.
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>#define GC_THRESHOLD</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>#define <A HREF="#DOC.DOCU">GC_THRESHOLD</A></H2><H2>(16U*1024U*1024U)</H2><BLOCKQUOTE>The garbage collector runs every time that allocated memory - garbage collected memory > GC_THRESHOLD.</BLOCKQUOTE>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>The garbage collector runs every time that
allocated memory - garbage collected memory > GC_THRESHOLD.
By adjusting this variable, garbage collection becomes
rarer (if a bigger value is set) or more often (if a smaller value is
set).</BLOCKQUOTE>
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.