This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Speeding up GC
- From: Marc Espie <espie at quatramaran dot ens dot fr>
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 4 Jun 2002 11:20:35 +0200
- Subject: Re: Speeding up GC
- Organization: Ecole Normale Superieure (quatramaran)
- References: <j47klg8pfy.fsf@informatik.hu-berlin.de>
In article <20020603180553.A13829@redhat.com> you write:
>
>A better way to do this is to actually compact the GC arena
>and mark the pages read-only. If the objects are modified,
>the SIGSEGV handler marks the page read-write again and flags
>the page as having been modified.
Isn't that a bit expensive ? getting through a SEGV and a signal-handler
is not especially fast on most OSes.