Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make the allocator take a special path for allocations bigger than 2GB; ↵ | Araq | 2018-02-27 | 1 | -2/+26 |
| | | | | fixes #7120 | ||||
* | genTryCpp to catch by Nim type, ready for first review (#7196) | cooldome | 2018-02-12 | 1 | -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 Melnychuk | 2018-02-09 | 1 | -4/+10 |
| | | | | | * fix undefined reference with mingw * use fseek, ftell for x86 and _fseeki64, _ftelli64 for amd64 | ||||
* | Fixes #7121 (#7148) | pqflx3 | 2018-01-31 | 1 | -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 pressure | Andreas Rumpf | 2018-01-30 | 1 | -6/+7 |
| | |||||
* | fixes the tracking of 'occupied memory' | Andreas Rumpf | 2018-01-30 | 1 | -6/+96 |
| | |||||
* | Fixes #6741 (#7131) | Yuriy Glukhov | 2018-01-25 | 1 | -1/+1 |
| | |||||
* | make C++ tests green again | Andreas Rumpf | 2018-01-22 | 1 | -2/+2 |
| | |||||
* | GC: also report total GC'ed heap size ignoring losses due to fragmentation | Andreas Rumpf | 2018-01-21 | 1 | -1/+3 |
| | |||||
* | writeStackTrace now officially has no IO effect anymore for more convenient ↵ | Andreas Rumpf | 2018-01-21 | 1 | -2/+2 |
| | | | | debugging | ||||
* | M&S GC: minor code cleanup | Andreas Rumpf | 2018-01-21 | 1 | -6/+0 |
| | |||||
* | GC: fixes size computation for leak detection | Andreas Rumpf | 2018-01-21 | 1 | -4/+4 |
| | |||||
* | GC add 'string' to dumpNumberOfInstances | Andreas Rumpf | 2018-01-21 | 1 | -0/+5 |
| | |||||
* | Mark&Sweep GC: introduce nimTracing define for debugging | Andreas Rumpf | 2018-01-19 | 2 | -2/+42 |
| | |||||
* | fixes size computations for 'dumpNumberOfInstances' | Andreas Rumpf | 2018-01-19 | 1 | -1/+1 |
| | |||||
* | bugfix: do not call memcmp for nil strings | Andreas Rumpf | 2018-01-19 | 1 | -3/+6 |
| | |||||
* | leak detector: sort type based entries by total used bytes | Andreas Rumpf | 2018-01-18 | 1 | -2/+28 |
| | |||||
* | alloc.nim: Make 'logAlloc' produce a toy Nim program for easier memory tracing | Andreas Rumpf | 2018-01-18 | 1 | -2/+2 |
| | |||||
* | GC: enable precise global/thread local storage tracing | Araq | 2018-01-15 | 4 | -62/+46 |
| | |||||
* | GC improvements; distinguish between thread local and globals in the marking ↵ | Araq | 2018-01-14 | 5 | -109/+91 |
| | | | | step | ||||
* | gc.nim: Add a gcAssert to enforce the no heap sharing restrictions | Araq | 2018-01-12 | 1 | -0/+1 |
| | |||||
* | Fix for isssue in parseBiggestFloat #7060 (#7061) | cooldome | 2018-01-11 | 1 | -3/+4 |
| | |||||
* | - fixed lock of a program when proc echo is called on Android 5.x.x (#7054) | rrenderr | 2018-01-10 | 1 | -2/+3 |
| | |||||
* | Don't zeroMem result of boehmAlloc() (#7029) | Mathias Stearn | 2018-01-05 | 1 | -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 Glukhov | 2017-12-31 | 3 | -3/+3 |
| | |||||
* | Implement language feature #6885 (#6954) | cooldome | 2017-12-24 | 1 | -1/+0 |
| | |||||
* | cmp(x, y: string) now uses memcmp rather than strcmp (#6869) (#6968) | Mathias Stearn | 2017-12-24 | 1 | -4/+4 |
| | |||||
* | first steps in adding template/macro calls to stack traces | Araq | 2017-12-21 | 1 | -0/+12 |
| | |||||
* | Genode: constrain `osTryAllocPages` to RAM quota (#6883) | Emery Hemingway | 2017-12-14 | 2 | -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 deallocOsPages | Andreas Rumpf | 2017-12-11 | 1 | -0/+1 |
| | |||||
* | Merge branch 'devel' into araq-new-mm2 | Araq | 2017-12-08 | 1 | -5/+6 |
|\ | |||||
| * | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-12-08 | 1 | -5/+6 |
| |\ | |||||
| | * | optimize setLen (#6816) | Brent Pedersen | 2017-12-07 | 1 | -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.txt | Araq | 2017-12-07 | 1 | -1/+2 |
| | | | |||||
* | | | make the new allocator work | Araq | 2017-12-07 | 1 | -8/+15 |
| | | | |||||
* | | | Threading: increase TLS size for new allocator | Araq | 2017-12-07 | 1 | -2/+2 |
| | | | |||||
* | | | make allocator use the TLSF algorithm; work in progress | Araq | 2017-12-07 | 1 | -30/+127 |
|/ / | |||||
* / | osalloc: improve error message when virtualFree fails | Araq | 2017-12-03 | 1 | -1/+1 |
|/ | |||||
* | make asyncdispatch compile with the foreign GCs | Araq | 2017-12-01 | 1 | -0/+8 |
| | |||||
* | remove goFree() (#6808) | Ștefan Talpalaru | 2017-11-25 | 1 | -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 #6753 | Andreas Rumpf | 2017-11-22 | 1 | -6/+6 |
| | |||||
* | added when statement (#6759) | Arne Döring | 2017-11-17 | 1 | -29/+32 |
| | |||||
* | added system.getStackTraceEntries | Andreas Rumpf | 2017-11-16 | 1 | -21/+64 |
| | |||||
* | Trim remaining expr/stmt from stdlib (#6742) | Lynn C. Rees | 2017-11-15 | 3 | -4/+4 |
| | |||||
* | Fix cas when using vcc/cpp and use the correct interlocked exchange for bool ↵ | Jörg Wollenschläger | 2017-11-14 | 1 | -6/+14 |
| | | | | (#6735) | ||||
* | Fix missing stacktraces when using -d:useNimRtl (#6716) | Erwan Ameil | 2017-11-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into araq | Andreas Rumpf | 2017-11-07 | 1 | -1/+1 |
|\ | |||||
| * | fixes #6609; 'if' expressions support multiple statements; minor breaking change | Araq | 2017-11-05 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'devel' into araq | Andreas Rumpf | 2017-11-02 | 1 | -1/+1 |
|\| | |||||
| * | 'ord' does not produce a range type anymore | Andreas Rumpf | 2017-11-02 | 1 | -1/+1 |
| | |