Re: [Gc] Is there a way to walk the entire heap of live objects
Bruce Hoult <[email protected]> Sat, 7 Jun 2014 20:44:48 +1200
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <CAMU+EkwwS9Y-3iAchBbm8=Le+GXJW71f-GxT3FzSspGp6_89Vg@mail.gmail.com> |
Personally, I think block splitting (or combining for that matter) is inherently a bad thing to do. The only use-case it really helps with is a program allocating huge temporary things at startup and then never again. At the same time it pessimises many other common use-patterns. It's one thing to have a single 1 MB unused hole laying around forever. It's quite another to repeatedly turn 1 MB holes into 999999 KB holes that aren't quite big enough the next time the 1 MB object is allocated. Anyway, I'm interested to hear from Christian if disabling it has any effect. On Sat, Jun 7, 2014 at 8:15 PM, Ivan Maidanski <ivmai-JGs/[email protected]> wrote: > Hi Cristian, > > Do you use latest gc? (From any bdwgc repository) > I remember I had some out of memory issue resolved by fixing splitting in > allocblk_nth. See commits ec5130a and 701f219 but they both relates to > bdwgc compiled with USE MUNMAP. > > Regards, > Ivan > > > _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc