[Gc] How GC determines STACK_BOTTOM , DATA_START ,DATA_END ?
hans.boehm at hp.com
Fri Sep 11 09:53:55 PDT 2009
The underlying symbols, i.e. the addresses of the variables, are predefined by the linker to be e.g. the start and end of the data segment. Only the address is used. (They're typically declared as arrays, and thus implicitly converted to a pointer.) The details are very platform specific.
From: gc-bounces at napali.hpl.hp.com [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of atharva chauthaiwale
Sent: Friday, September 11, 2009 4:59 AM
To: gc at napali.hpl.hp.com
Subject: [Gc] How GC determines STACK_BOTTOM , DATA_START ,DATA_END ?
I was going through gc_config.h and found that there are some extern variables defined according to OS using which we get the values of STACK_BOTTOM, DATA_START,DATA_END. How GC determines those values. Does it link to any external library to get these values ?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gc