Questions tagged [boehm-gc]

A garbage collecting replacement for C's malloc() using a mark/sweep algorithm.

A tracing (mark/sweep) garbage collector. It periodically determines which objects can be reached by following pointers.

Began life (ca. 1980) as a simple GC for the Russell programming language.

Used among others by:

  • The runtime system for GCJ, the static GNU java compiler.
  • W3m, a text-based web browser.
  • Some versions of the Xerox DocuPrint printer software.
  • The Mozilla project, as leak detector.
  • The Mono project, an open source implementation of the .NET development framework.

Reference:

50 questions
0
votes
1 answer

Installing Boehm's C garbage collector on os x mavericks

i'm trying to install a c garbage collector on my mac. I have downloaded all necessary files (git, automake etc). I follow the instruction from the site http://www.hboehm.info/gc/. When i reach the command "automake --add-missing" i get the…
user3551775
  • 145
  • 2
  • 5
0
votes
1 answer

How do I use the Boehm GC with GCC's __attribute__((section...)) on OS X?

I have some code that looks like this: __attribute__((section("__DATA,__mysection"))) char *mumble; ... mumble = GC_MALLOC(100); ... I'm using the Boehm garbage collector. I would expect the data that mumble points to to be safe, since it's…
0
votes
1 answer

How do I make libgc work in Mac OS X?

I must be missing something. Even the simplest test program using libgc fails. Any clues? $ cat test.c #include int main(void) { char *s; s = GC_MALLOC(1); return 0; } $ cc -ansi -pedantic -Wall -I/opt/local/include…
August Karlstrom
  • 10,773
  • 7
  • 38
  • 60
-1
votes
0 answers

Is the boehm GC slow (libgc/bdwgc)?

I was trying to figure out if the boehm GC is slow or is it fast since it removes a lot of headaches associated with manual memory management in C, Although i could not come up with a benchmark that allocates enough memory to see the garbage…
PunchCake
  • 13
  • 4
-1
votes
1 answer

when will the boehm-gc 7.6 be released

Boehm-gc 7.6 is on the prerelease status, When will boehm-gc 7.6 be released? Can we use it in product now? I can't found the release plan or any roadmap. Thanks!
Radxe
  • 11
1 2 3
4