Commit Graph

114 Commits

Author SHA1 Message Date
Araq
999c107c52 fixes #3245 2015-08-25 15:13:39 +02:00
rku
43bfda057b Coroutine support for i386/amd64 platforms unix/windows OSes markAndSweep/refCounting GCs. 2015-07-31 17:59:50 +03:00
pdw
2ca90a20a1 lib/system/g-w - Dropped 'T' from types 2015-06-04 13:18:37 +02:00
Reimer Behrends
2a08bbdf31 Fix GC scanning of registers on x86_64 architectures.
It is possible for jmp_buf to not be word-aligned or addresses
in the register dump to not be word-aligned. This can result in
either addresses in registers being missed or even addresses on
the stack past the register area not being scanned properly.
2015-05-07 14:35:39 +02:00
def
573fa9b891 Clean up GCs a bit 2015-03-10 15:31:55 +01:00
Araq
ee57bb3e3e fixes --gc:none regression; made some tests green 2015-03-10 12:32:47 +01:00
Araq
c40aac8e20 GC: get rid of pathological behaviour for stack marking 2015-03-08 13:08:19 +01:00
def
d875951124 sizeof(char) is always 1 2015-03-04 03:22:06 +01:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Araq
683b82a2ec fixes #2070 2015-02-10 20:19:44 +01:00
def
dfdd84f2c9 Make ESTP compile 2015-01-23 23:18:20 +01:00
Araq
7524610b31 fixes #1796 2015-01-05 02:27:24 +01:00
Araq
5a52e941b5 added 'setupGcForForeignThread' for better C interop 2014-12-11 23:29:26 +01:00
Araq
a639824e5e introduced 'benign' pragma 2014-10-25 22:01:23 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
fc0fda14ae system files use new identifiers 2014-08-23 00:58:04 +02:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Araq
3b69a8d27a New concurrency model: next steps 2014-04-19 22:24:43 +02:00
Araq
42a8ab34f1 preparations for easier debugging 2014-04-07 23:28:29 +02:00
Araq
ac3bce79d1 compiles on sparc again 2014-02-09 01:34:17 +01:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq
1101a40f91 improvements for 'pretty' 2013-12-28 23:30:53 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Araq
132b6b3efe implemented 'injectStmt'; more debug support 2013-12-16 22:26:17 +01:00
Araq
fe983b1309 fixes a regression where memset was used without including <string.h> 2013-12-03 01:59:38 +01:00
Araq
f73cec7f01 GC: even more stress testing 2013-10-31 22:32:27 +01:00
Araq
f857a842fc debug GC works now 2013-10-01 17:14:30 +02:00
Araq
1a792d46d0 first version of the debug GC; doesn't work yet 2013-10-01 08:44:09 +02:00
Araq
6cc06cd35d fixes #569; C++ codegen works again 2013-08-31 02:07:52 +02:00
Araq
3940bd5b84 GC: added static cycleGC checks 2013-08-22 19:20:45 +02:00
Araq
db027faf38 fixes a long standing channels bug 2013-08-09 00:25:31 +02:00
Araq
0f2aa053d9 added GC_addCycleRoot 2013-02-12 08:45:01 +01:00
Araq
5e7dd69b00 GC: incRef needs to add cycleroots 2013-02-12 08:28:46 +01:00
Araq
3d7abb958d open arrays documented in the manual 2013-02-10 15:06:25 +01:00
Araq
0bb3731422 working cycle collector for old GC 2013-02-10 02:59:36 +01:00
Araq
ab6f793408 first version of a simple mark&sweep GC; activate with --gc:markAndSweep 2013-02-07 01:57:10 +01:00
Araq
65fdd641a9 revert to old GC; use --gc:v2 to activate the new GC 2013-01-31 17:24:55 +01:00
Zahary Karadjov
19e795e017 the mainmodule option has effect only when no explicit module is given 2013-01-28 00:26:49 +02:00
Zahary Karadjov
67f37264b3 few notes about the remaining problems with retired buffers 2013-01-27 22:23:57 +02:00
Zahary Karadjov
31134a6bae Disabled mark-and-sweep in the compiler itself
This also adds "cycle roots trimming": a light-weight collection of the cycle
roots performed in CollectZCT for candidates that are recently allocated
and provably dead.
2013-01-22 12:16:08 +02:00
Zahary Karadjov
41cbd1c980 minor bug fixes to make some tests green 2013-01-21 02:03:13 +02:00
Zahary Karadjov
86bf97a730 cleaned up some debugging code 2013-01-20 21:22:07 +02:00
Zahary Karadjov
083d4f4708 fixes the recently discovered GC memory leaks
This revision is intended as comparison point between the old and the new GC
The used GC can be switched in mmdisp and various statistics will be gathered during
execution (these will be removed/disabled in later revisions)
2012-12-20 15:51:21 +02:00
Zahary Karadjov
c67520a7c5 temporary debugging code for the memory leak investigation 2012-11-28 01:15:14 +02:00
Araq
d43febf81e first version of a memory profiler 2012-10-10 00:41:34 +02:00
Araq
75abf72503 profiler improvements 2012-09-17 00:31:41 +02:00