Talk:Boehm garbage collector

Latest comment: 11 years ago by 2001:4830:1100:235:0:0:0:2 in topic Atomic malloc?

Good intro

edit

I just wanted to say, the intro para to this article is spectacular. Hits all the important points with excellent brevity. Good job. Deco 06:02, 22 August 2005 (UTC)Reply

C++

edit

Please somebody could add some c++ object orited code using GC? It is basic. —Preceding unsigned comment added by 200.108.215.226 (talk) 14:41, 6 November 2008 (UTC)Reply

License

edit

Interestingly, I see that in the source, COPYING and various file headers claim GNU GPL. It is unfortunate, but it seems to be more restictive than the article-claimed X11 license. 76.10.128.192 (talk) 07:51, 9 March 2012 (UTC)Reply

  • Well, from a citation on the site:
A few of the files needed to use the GNU-style build procedure come with slightly different licenses, though they are all similar in pirit. A few are GPL'ed, but with an exception that should cover all uses in the collector.
76.10.128.192 (talk) 07:56, 9 March 2012 (UTC)Reply

Atomic malloc?

edit

The sample code for C uses GC_MALLOC_ATOMIC. Can someone explain why it uses an atomic malloc vs nonatomic? It seems like this would be an interesting gotcha as (I believe) malloc() is an atomic operation.

GC_malloc_atomic allocates memory that will not be scanned for pointers. Kind of a funny name, but... 2001:4830:1100:235:0:0:0:2 (talk) 02:13, 27 August 2013 (UTC)Reply