summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #7212, now with better code (#7302)Simon Krauter2018-03-061-0/+7
| | | When platform is Windows and app type is GUI, an error about missing DLL file is displayed as message box in addition to the console output, which is usually not visible.
* Fixes 7283 (#7284)cooldome2018-03-051-0/+4
|
* fixes #7291Araq2018-03-051-1/+1
|
* make the allocator take a special path for allocations bigger than 2GB; ↵Araq2018-02-271-2/+26
| | | | fixes #7120
* genTryCpp to catch by Nim type, ready for first review (#7196)cooldome2018-02-121-1/+1
| | | | | | | | | | | | | | | | * Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header
* Fix undefined reference with MinGw (#7175)Volodymyr Melnychuk2018-02-091-4/+10
| | | | | * fix undefined reference with mingw * use fseek, ftell for x86 and _fseeki64, _ftelli64 for amd64
* Fixes #7121 (#7148)pqflx32018-01-311-8/+14
| | | | | | * Replace ftell and fseek with (windows) _ftelli64, _fseeki64 and (posix) ftello, fseeko * disable large file test
* M&S GC: collect earlier under memory pressureAndreas Rumpf2018-01-301-6/+7
|
* fixes the tracking of 'occupied memory'Andreas Rumpf2018-01-301-6/+96
|
* Fixes #6741 (#7131)Yuriy Glukhov2018-01-251-1/+1
|
* make C++ tests green againAndreas Rumpf2018-01-221-2/+2
|
* GC: also report total GC'ed heap size ignoring losses due to fragmentationAndreas Rumpf2018-01-211-1/+3
|
* writeStackTrace now officially has no IO effect anymore for more convenient ↵Andreas Rumpf2018-01-211-2/+2
| | | | debugging
* M&S GC: minor code cleanupAndreas Rumpf2018-01-211-6/+0
|
* GC: fixes size computation for leak detectionAndreas Rumpf2018-01-211-4/+4
|
* GC add 'string' to dumpNumberOfInstancesAndreas Rumpf2018-01-211-0/+5
|
* Mark&Sweep GC: introduce nimTracing define for debuggingAndreas Rumpf2018-01-192-2/+42
|
* fixes size computations for 'dumpNumberOfInstances'Andreas Rumpf2018-01-191-1/+1
|
* bugfix: do not call memcmp for nil stringsAndreas Rumpf2018-01-191-3/+6
|
* leak detector: sort type based entries by total used bytesAndreas Rumpf2018-01-181-2/+28
|
* alloc.nim: Make 'logAlloc' produce a toy Nim program for easier memory tracingAndreas Rumpf2018-01-181-2/+2
|
* GC: enable precise global/thread local storage tracingAraq2018-01-154-62/+46
|
* GC improvements; distinguish between thread local and globals in the marking ↵Araq2018-01-145-109/+91
| | | | step
* gc.nim: Add a gcAssert to enforce the no heap sharing restrictionsAraq2018-01-121-0/+1
|
* Fix for isssue in parseBiggestFloat #7060 (#7061)cooldome2018-01-111-3/+4
|
* - fixed lock of a program when proc echo is called on Android 5.x.x (#7054)rrenderr2018-01-101-2/+3
|
* 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."
* Fixed mutex usage in SharedList and SharedTable. Closes #6988 (#6990)Yuriy Glukhov2017-12-313-3/+3
|
* Implement language feature #6885 (#6954)cooldome2017-12-241-1/+0
|
* cmp(x, y: string) now uses memcmp rather than strcmp (#6869) (#6968)Mathias Stearn2017-12-241-4/+4
|
* first steps in adding template/macro calls to stack tracesAraq2017-12-211-0/+12
|
* Genode: constrain `osTryAllocPages` to RAM quota (#6883)Emery Hemingway2017-12-142-11/+115
| | | | | | | | | | | | Genode software components all start with an explicit RAM resource quota which may or may not be upgraded during runtime by the parent process. With this patch `osTryAllocPages` will fail if allocation exceeds quotas set by the parent and the `osAllocPages` procedure will trigger a blocking request to the parent to increase quotas. The previous behavior could potentially block both procedures indefinitely for a quota upgrade rather than fail and trigger garbage collection. This patch also adds tracking of Genode dataspace mappings into the component address space so they can be detached and freed.
* allocator: minor fix for deallocOsPagesAndreas Rumpf2017-12-111-0/+1
|
* Merge branch 'devel' into araq-new-mm2Araq2017-12-081-5/+6
|\
| * Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-12-081-5/+6
| |\
| | * optimize setLen (#6816)Brent Pedersen2017-12-071-5/+6
| | | | | | | | | | | | | | | | | | inline the call to setLengthSeq and avoid decref for types if ntfNoRefs closes #6721 and speeds setLen when newLen < len for non reference types.
* | | cleanup todo.txtAraq2017-12-071-1/+2
| | |
* | | make the new allocator workAraq2017-12-071-8/+15
| | |
* | | Threading: increase TLS size for new allocatorAraq2017-12-071-2/+2
| | |
* | | make allocator use the TLSF algorithm; work in progressAraq2017-12-071-30/+127
|/ /
* / osalloc: improve error message when virtualFree failsAraq2017-12-031-1/+1
|/
* 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
* fixes #6753Andreas Rumpf2017-11-221-6/+6
|
* added when statement (#6759)Arne Döring2017-11-171-29/+32
|
* added system.getStackTraceEntriesAndreas Rumpf2017-11-161-21/+64
|
* Trim remaining expr/stmt from stdlib (#6742)Lynn C. Rees2017-11-153-4/+4
|
* Fix cas when using vcc/cpp and use the correct interlocked exchange for bool ↵Jörg Wollenschläger2017-11-141-6/+14
| | | | (#6735)
* Fix missing stacktraces when using -d:useNimRtl (#6716)Erwan Ameil2017-11-101-1/+1
|
* Merge branch 'devel' into araqAndreas Rumpf2017-11-071-1/+1
|\