]> git.llucax.com Git - software/druntime.git/commit
Added static data segment support to the new Runtime.loadLibrary() features. This...
authorsean <sean@4a9d5153-6564-4b3f-b5e1-7e8e9dac548f>
Wed, 29 Oct 2008 00:15:37 +0000 (00:15 +0000)
committersean <sean@4a9d5153-6564-4b3f-b5e1-7e8e9dac548f>
Wed, 29 Oct 2008 00:15:37 +0000 (00:15 +0000)
commit97701d90b6977c5fb6b9a738cc1f152d80a422c9
treef396597bf88212ecbbdecef3218acda10ac88f58
parentbcf5b1203472d877e1f3560ca595cc1341c3783b
Added static data segment support to the new Runtime.loadLibrary() features.  This also replaces static data segment scanning for all apps by dropping rt_scanStaticData() in favor of a new initialization step that calls gc_addRange() for each static data segment.  The upshot of this is that all GCs must track add/remove Root and Range calls so the info can be passed to a proxy if gc_setProxy() is called.  See src/gc/stub/gc.d for a simple implementation of this.

git-svn-id: http://svn.dsource.org/projects/druntime/trunk@39 4a9d5153-6564-4b3f-b5e1-7e8e9dac548f
src/gc/basic/gc.d
src/gc/basic/gcx.d
src/gc/stub/gc.d