Re: [Gc] adding profiling callbacks
Lucas Meijer <[email protected]> Mon, 30 Jun 2014 19:40:10 +0200
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <CAF3RfKpQ-EcViBo0NevULYi2yoJsCxExb5BsuwW13xFFEkmkUw@mail.gmail.com> |
Ok, in that case I think it's best if I remove them. Any further comments from anyone? Bye, Lucas On Mon, Jun 30, 2014 at 5:45 PM, Bruce Hoult <[email protected]> wrote: > On Tue, Jul 1, 2014 at 3:36 AM, Lucas Meijer <[email protected]> wrote: > >> @Paul: GC_EVENT_RECLAIM_START gets sent when marking is finished, and >> sweeping starts. >> > > There really isn't a discrete sweeping phase, as such. > > When you call GC_malloc() (or friends) and the free list for that object > size is empty then one 4KB block is swept and the unmarked objects in it > added to the free list. > > So the sweeping is spread somewhat evenly throughout the execution of your > program. > > It would of course make sense to be able to instrument those individual > block sweepings. But it's a lot of small things spread out through each GC > cycle, not one big thing just after marking. > > _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc