summary refs log tree commit diff stats
path: root/lib/system/mmdisp.nim
Commit message (Collapse)AuthorAgeFilesLines
* Don't zeroMem result of boehmAlloc() (#7029)Mathias Stearn2018-01-051-3/+1
| | | | From the man page: "Unlike the standard implementations of malloc, GC_malloc clears the newly allocated storage. GC_malloc_atomic does not."
* cleanup todo.txtAraq2017-12-071-1/+2
|
* make asyncdispatch compile with the foreign GCsAraq2017-12-011-0/+8
|
* remove goFree() (#6808)Ștefan Talpalaru2017-11-251-2/+0
| | | | __go_free() was removed from gcc-7.2.0 so we stop trying to help the garbage collector by marking no longer used memory regions
* newSeqOfCap: skip initialization step for non-GC-ed dataAndreas Rumpf2017-09-241-1/+5
|
* remove ArrayDummySize with unchecked arrays (#5818)Jacek Sieka2017-08-281-1/+1
|
* WIP: --gc:regions instead of --gc:stackAraq2017-08-131-3/+3
|
* fixes #6234Andreas Rumpf2017-08-111-1/+1
|
* support libgo from GCC 6.3 (#5964)Ștefan Talpalaru2017-06-081-1/+10
|
* Control leakDetector from cmdlineYuriy Glukhov2016-12-061-1/+1
|
* Add define value `nimBurnFree` which allow deallocation procedures to fill ↵cheatfate2016-09-201-1/+1
| | | | memory with 0xFF before freeing it.
* added system.newSeqOfCap for improved efficiencyAndreas Rumpf2016-07-151-0/+14
|
* fix types of ansi_c/sysio to more closely match C ABIJacek Sieka2016-06-051-12/+12
| | | | | also fixes some instances of using C library functions when there are nim alternatives available
* Merge remote-tracking branch 'origin/devel' into malloc-store-sizeJacek Sieka2016-04-261-4/+8
|\
| * simple stuff works with --gc:stackAndreas Rumpf2016-04-181-4/+5
| |
| * beginnings of --gc:stackAndreas Rumpf2016-03-281-0/+3
| |
* | store block size in when using malloc and nogcJacek Sieka2016-03-251-5/+20
|/ | | | | this allows for a correct implementation of realloc, which is needed as code using it assumes new values will be zeroed out / nil
* newObj can clear memory, even when using malloc and nogcJacek Sieka2016-03-071-1/+1
|
* further progress on --gc:v2Andreas Rumpf2016-02-171-1/+1
|
* some progress on GC v2Andreas Rumpf2016-02-031-2/+2
|
* set debug switch to false againAraq2015-12-011-1/+1
|
* next steps for the GCAraq2015-12-011-1/+1
|
* Remove spurious unsigned operations from system/threads.nim.Reimer Behrends2015-09-081-3/+0
| | | | | | These operations were included before the unsigned module was incorporated directly into system.nim and subsequently caused compilation errors with --gc:go due to duplicate definitions.
* Properly register threads with the Boehm GC.Reimer Behrends2015-09-081-23/+18
| | | | | | | | | | | | | | | | In order to be able to scan thread stacks, the Boehm GC needs to know about newly created threads. We establish the end of the stack by using GC_call_with_stack_base (this works properly also with the dual-stack Itanium architecture) and then GC_register_my_thread() to register a thrad and GC_unregister_my_thread() to unregister it again. This patch also includes a modification for the refc and markandsweep collectors to set the stack bottom for thread stacks correctly even if an optimizer aggressively inlines and optimizes procedures (this is already being done for the stack of the main thread). Finally, we use the {.noconv.} pragma for the Boehm GC, as the Boehm API uses no specific calling convention.
* Properly initialize the Boehm GC on all platforms.Reimer Behrends2015-09-061-1/+1
|
* proper distinction between --gc:none and --os:standaloneAraq2015-06-291-3/+6
|
* TMemRegion -> MemRegionStefan Talpalaru2015-06-151-5/+6
|
* cleanupStefan Talpalaru2015-06-151-5/+0
|
* Merge branch 'devel' into gogcStefan Talpalaru2015-06-151-14/+17
|\
| * lib/system/g-w - Dropped 'T' from typespdw2015-06-041-14/+17
| |
* | finalizer supportStefan Talpalaru2015-06-151-0/+6
| |
* | the Go GC - initial implementationStefan Talpalaru2015-05-311-1/+193
|/
* Fix Boehm GC on linuxSergey Avseyev2015-05-261-2/+1
| | | | | | | | | | | | | | | | Motivation ---------- Some linuxes (like Fedora) actually multiarch. And it means that libgc.so.1 not always installed into /usr/lib. It is better to entrust this job to ld and system configuration for it. Modification ------------ Use relative path for Boehm GC on 'other' OS (and linux in particular) Result ------ It is possible now to build nim with --gc:boehm on linux
* Use more Natural and Positive numbers in proc parametersdef2015-04-061-12/+12
| | | | | - Didn't go through all modules, only the main ones I thought of - Building the compiler and tests still work
* fixes --gc:none regression; made some tests greenAraq2015-03-101-27/+33
|
* Some GC renames to get rid of deprecation warningsdef2015-01-061-3/+3
|
* Fix --gc:none with --cs:partial.Dominik Picheta2014-09-191-1/+1
|
* Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreakAraq2014-09-191-10/+18
|\
| * Various fixes to how the Boehm GC's interface.Reimer Behrends2014-09-181-10/+18
| | | | | | | | | | | | | | The Boehm GC interface did not define the getXXXSharedMem() functions that were needed for compilation with --threads:on. It also used `ppointer` instead of `PPointer`, so it failed to compile with --cs:partial.
* | renamed Byte to byteAraq2014-08-291-1/+1
| |
* | the big renamefest: first stepsAraq2014-08-221-4/+4
|/
* preparations for easier debuggingAraq2014-04-071-0/+1
|
* compiler warns when you use GC'ed memory and '--gc:none'Araq2014-01-191-48/+48
|
* case consistency part 4Araq2013-12-271-1/+1
|
* implemented 'injectStmt'; more debug supportAraq2013-12-161-1/+2
|
* GC: even more stress testingAraq2013-10-311-0/+1
|
* first version of the debug GC; doesn't work yetAraq2013-10-011-1/+1
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* preparations for a generational GCAraq2013-02-161-1/+3
|
* first version of a simple mark&sweep GC; activate with --gc:markAndSweepAraq2013-02-071-0/+3
|