May 31, 2013 [D-runtime] [D-Programming-Language/druntime] 325e1f: gc: Rename gcalloc.d to os.d | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/druntime Commit: 325e1f1a35efd9b0bc0fbb7860f27c7178a7b9f3 https://github.com/D-Programming-Language/druntime/commit/325e1f1a35efd9b0bc0fbb7860f27c7178a7b9f3 Author: Leandro Lucarella <leandro.lucarella@sociomantic.com> Date: 2013-05-29 (Wed, 29 May 2013) Changed paths: M mak/MANIFEST M mak/SRCS R src/gc/gcalloc.d M src/gc/gcx.d A src/gc/os.d Log Message: ----------- gc: Rename gcalloc.d to os.d In the future this file will hold more OS-specific functions needed by the GC, and this file looks like a good place to put them, so all OS-specific functions are grouped in a single module. Also, having the prefix gc on every file, when all this is inside a gc package, doesn't seem to make a lot of sense, thus it will be removed progressively. Commit: 56bb150c8efdbe9092a133bf4057f8d74bf9d381 https://github.com/D-Programming-Language/druntime/commit/56bb150c8efdbe9092a133bf4057f8d74bf9d381 Author: Leandro Lucarella <leandro.lucarella@sociomantic.com> Date: 2013-05-30 (Thu, 30 May 2013) Changed paths: M src/gc/gcx.d M src/gc/os.d Log Message: ----------- gc: Remove (de)committed memory distinction The distinction is only useful for Windows, Posix has no standard way to do this, even when apparently you can emulate it in Linux using PROT_NONE while mmap()ping (but Linux don't commit memory until you write on it, so is pointless to use it in Linux). This distinction makes the code a little more complex, because is spread in several parts of the GC, and it doesn't have an evident positive impact (having memory mapped but not committed is a very transient state anyway, except on extremely rare situations, the GC will commit all the memory eventually, as you keep allocating, it could take more or less time, but eventually you'll have all your memory committed just before the first time the collector runs). Commit: faec6c7aebff0c3861f9084b8f34ac967dfdb082 https://github.com/D-Programming-Language/druntime/commit/faec6c7aebff0c3861f9084b8f34ac967dfdb082 Author: Martin Nowak <code@dawg.eu> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M mak/MANIFEST M mak/SRCS R src/gc/gcalloc.d M src/gc/gcx.d A src/gc/os.d Log Message: ----------- Merge pull request #496 from leandro-lucarella-sociomantic/cdgc gc: rename module and remove (de)committed memory distinction Compare: https://github.com/D-Programming-Language/druntime/compare/9ad245c5b71d...faec6c7aebff |
Copyright © 1999-2021 by the D Language Foundation