This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [debuglocus] mark debuglocus bitmap for GC


Aldy Hernandez wrote:
The global bitmap was being corrupted during garbage collection because
it was not marked in the GC roots.  I tried putting the bitmap on the
default bitmap obstack, but it gets swiped from under us all over the
compiler, thus not suitable for a persistent object.

The following patch marks the global bitmap as a root, and clears the
bitmaps when not needed.

OK for branch?
OK
Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]