[Gc] G++ exception tables and blacklisting

Jeff Sturm jsturm at one-point.com
Thu Mar 4 21:32:14 PST 2004


On Thu, 4 Mar 2004, David Jones wrote:
> Although this likely does not use up any real memory or swap resources, it
> does count against a user's rlimit (at least on FreeBSD).  In any event, it
> would be useful if the collector could determine the extent of the G++
> exception table and exclude it from its root set.  Unfortunately, there does
> not appear to be any standard way of doing so.

If you can determine the base address and size of the exception table, you
can call GC_exclude_static_roots to avoid scanning this area for root
pointers.

Jeff




More information about the Gc mailing list