Re[2]: [Gc] Re: [PATCH] Dealing with `'

Ivan Maidanski ivmai at
Wed Apr 29 02:00:54 PDT 2009


ludo at (Ludovic CourtХs) wrote:
> Hello,
> "Boehm, Hans" <hans.boehm at> writes:
> ...
> > Thus it's not implausible that a user would call
> > GC_exclude_static_roots on something inside a GNU_RELRO section?
> Yes, although users could assume that `const'-qualified areas are not
> scanned by default, regardless of whether they are relocatable or not (I
> mean, an application writer doesn't necessarily pay attention to this).

A developer might manually (temporarily) exclude a `const'-qualified area to work around a compiler/linker bug (eg., see such bug in
Although this is ugly, it must not break the collector.


More information about the Gc mailing list