Threading the compiler

Daniel Jacobowitz drow@false.org
Sat Nov 11 17:56:00 GMT 2006


On Sat, Nov 11, 2006 at 04:16:19PM +0000, Paul Brook wrote:
> I don't know how much of the memory allocated is global readonly data (ie. 
> suitable for sharing between threads). I wouldn't be surprised if it's a 
> relatively small fraction.

I don't have numbers on global readonly, but in typical compilation
most of the memory allocated is definitely global.  Past a certain
point much of that is probably readonly.  However, it would take some
clever interfaces and discipline to _guarantee_ that any particular
global bit was shareable.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gcc mailing list