Nim/lib/system
Reimer Behrends 06e3d3ab4d Disable interior pointer checking by default for the Boehm GC. (#10316)
The Boehm GC only needs interior pointer checking if pointers in global
variables or on the heap point to the interior of an object rather than
the beginning. If this does not happen, then checking for interior
pointers causes additional overhead, in particular because any objects
whose sizes are an exact multiple of two words gain another two words of
padding, wasting memory.

If checking of interior pointers is still desired, this can be achieved
by setting the environment variable GC_ALL_INTERIOR_POINTERS.

Pointers on the stack will always be treated as potential interior
pointers, as compiler optimizations may advance the only live reference
to a point past the beginning of an object.
2019-01-15 19:00:02 +01:00
..
alloc.nim Try to let memTracker compile (#8502) 2018-08-05 09:53:10 +02:00
ansi_c.nim make tests green with a global config.nims file 2018-12-17 23:03:54 +01:00
arithm.nim fixes #2909 2015-06-15 00:56:20 +02:00
assign.nim more progress on destructor based strings 2018-07-13 21:15:47 +02:00
atomics.nim removes deprecated T/P types 2018-11-16 13:27:56 +01:00
avltree.nim make AVL tree node part of the memory regions; fixes hard to reproduce channel crashes 2017-01-31 13:08:47 +01:00
cellsets.nim removes deprecated T/P types 2018-11-16 13:27:56 +01:00
cgprocs.nim more progress on destructor based strings 2018-07-13 21:15:47 +02:00
channels.nim Update channels.nim (#8583) 2018-08-09 09:40:21 +02:00
chcks.nim refs #9880 show index and bound in lots of index out of bounds errors 2018-12-09 16:50:45 -08:00
debugger.nim removes deprecated T/P types 2018-11-16 13:27:56 +01:00
deepcopy.nim warn about inconsistent spacing around binary operators; fixes #7582 2018-05-05 14:58:33 +02:00
dyncalls.nim don't raise exception in the default handler (#9783) 2018-11-22 14:46:07 +01:00
embedded.nim add unsetControlCHook to remove a Ctrl-C hook after it was set (#7267) 2019-01-10 13:44:44 +01:00
endb.nim removes deprecated T/P types 2018-11-16 13:27:56 +01:00
excpt.nim add unsetControlCHook to remove a Ctrl-C hook after it was set (#7267) 2019-01-10 13:44:44 +01:00
gc.nim GC: avoid pathological behaviour; fixes #10040 [backport] (#10052) 2018-12-20 08:20:32 +01:00
gc2.nim Remove dead code (#9777) 2018-11-26 09:47:39 +01:00
gc_common.nim make the stdlib work with the changed docgen 2019-01-11 22:17:43 +01:00
gc_ms.nim fixes #10271 [backport] 2019-01-13 14:24:38 +01:00
gc_regions.nim Remove dead code (#9777) 2018-11-26 09:47:39 +01:00
helpers.nim add isNamedTuple; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) which leaked implementation detail (#10070) 2019-01-08 18:37:25 -08:00
helpers2.nim add isNamedTuple; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) which leaked implementation detail (#10070) 2019-01-08 18:37:25 -08:00
hti.nim Fix repr() for UncheckedArray (#9385) 2018-10-16 14:27:42 +02:00
inclrtl.nim make nim bootstrap again for older versions 2016-07-30 00:50:38 +02:00
jssys.nim Guard against null exception (#10162) 2019-01-04 15:05:03 +01:00
memory.nim Don't depend on string.h in codegen (#8299) 2018-07-13 17:41:59 +02:00
memtracker.nim Try to let memTracker compile (#8502) 2018-08-05 09:53:10 +02:00
mmdisp.nim Disable interior pointer checking by default for the Boehm GC. (#10316) 2019-01-15 19:00:02 +01:00
nimscript.nim Add stdin read support to nimscrit #3983 (#10292) 2019-01-14 09:26:10 +01:00
osalloc.nim Haiku support for Nim (#8542) 2018-08-14 09:35:07 +02:00
platforms.nim Nintendo switch support (#8069) 2018-06-27 12:35:09 +02:00
profiler.nim Give better error message when profiler and memProfiler used at same time (#9948) 2018-12-19 10:02:20 +01:00
repr.nim removes deprecated T/P types 2018-11-16 13:27:56 +01:00
reprjs.nim Fix fat pointers, object copying, magic double evals on JS (#9411) [backport] 2018-12-04 12:04:27 +01:00
sets.nim removes deprecated T/P types 2018-11-16 13:27:56 +01:00
strmantle.nim system/strmantle: avoid leaking docs to system.nim [ci skip] (#10233) 2019-01-08 08:42:10 +01:00
sysio.nim checkErr now shows actual system error msg instead of unknown error (#9987) 2018-12-27 22:46:53 +01:00
syslocks.nim removes deprecated T/P types 2018-11-16 13:27:56 +01:00
sysspawn.nim Trim remaining expr/stmt from stdlib (#6742) 2017-11-15 17:34:48 +01:00
sysstr.nim gogc: GCC-8.2.0 compatibility and other improvements (#9211) 2018-10-11 22:15:17 +02:00
threads.nim removes deprecated T/P types 2018-11-16 13:27:56 +01:00
timers.nim timers.nim: avoid parser warning 2018-12-14 09:56:43 +01:00
widestrs.nim more progress on destructor based strings 2018-07-13 21:15:47 +02:00