* Re: Re: GTY and const [not found] <1103776856.24215.ezmlm@gcc.gnu.org> @ 2004-12-23 17:09 ` Lucas (a.k.a T-Bird or bsdfan3) 2004-12-23 20:04 ` Robert Dewar 2004-12-24 2:32 ` Marc Espie 0 siblings, 2 replies; 3+ messages in thread From: Lucas (a.k.a T-Bird or bsdfan3) @ 2004-12-23 17:09 UTC (permalink / raw) To: gcc, Zack Weinberg, dberlin, geoffk Why can't we use the Boehm's GC for all of GCC? It's already distributed with GCC and we already use it for the Java runtime. Lucas Zack Weinberg wrote: >¹ however, I am still sympathetic to the notion that GC-allocating >everything would be a good idea if we could just get a non-sucky GC >algorithm. Remember that glorious time in the 3.1-3.3 timeframe when >we never had use-after-free bugs? > > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GTY and const 2004-12-23 17:09 ` Re: GTY and const Lucas (a.k.a T-Bird or bsdfan3) @ 2004-12-23 20:04 ` Robert Dewar 2004-12-24 2:32 ` Marc Espie 1 sibling, 0 replies; 3+ messages in thread From: Robert Dewar @ 2004-12-23 20:04 UTC (permalink / raw) To: Lucas (a.k.a T-Bird or bsdfan3); +Cc: gcc, Zack Weinberg, dberlin, geoffk Lucas (a.k.a T-Bird or bsdfan3) wrote: > Why can't we use the Boehm's GC for all of GCC? It's already > distributed with GCC and we already use it for the Java runtime. > Lucas > Zack Weinberg wrote: For the record, you cannot use BGC for the GNAT compiler itself because it uses virtual origin addressing which is incompatible with the BGC approach. In terms of the run time library, I think everything should work except the g-table and g-dyntab units which also use virtual addressing. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GTY and const 2004-12-23 17:09 ` Re: GTY and const Lucas (a.k.a T-Bird or bsdfan3) 2004-12-23 20:04 ` Robert Dewar @ 2004-12-24 2:32 ` Marc Espie 1 sibling, 0 replies; 3+ messages in thread From: Marc Espie @ 2004-12-24 2:32 UTC (permalink / raw) To: gcc In article <41CAF9EF.2030404@cox.net> you write: >Why can't we use the Boehm's GC for all of GCC? It's already >distributed with GCC and we already use it for the Java runtime. >Lucas The java runtime is one of those things that break on a lot of platforms. Okay, I'm biased, maybe not a lot. But at least on OpenBSD i386, I haven't been able to get most java runtime tests to run: boehm-gc doesn't work with dynamic libraries for us. I don't know why, and I haven't had time to find out. boehm-gc needs very specific support for each processor, each OS. I've read through parts of it, it's really not simple code, a real maze of a mess of #ifdef. the current gc used by gcc is, comparatively, very easy to work with. And it works on most everything, as there are degraded versions of it that demand very little where the OS suppport is concerned. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-24 0:26 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1103776856.24215.ezmlm@gcc.gnu.org> 2004-12-23 17:09 ` Re: GTY and const Lucas (a.k.a T-Bird or bsdfan3) 2004-12-23 20:04 ` Robert Dewar 2004-12-24 2:32 ` Marc Espie
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).