Commit graph

1095 commits

Author SHA1 Message Date
Justin Ethier
1b0e1aed36 Decremented wrong variable 2015-11-14 00:21:02 -05:00
Justin Ethier
65e2a1a18b Refactoring 2015-11-13 23:59:40 -05:00
Justin Ethier
d50ae96505 Initialize mark stack 2015-11-13 23:59:34 -05:00
Justin Ethier
f27e4874f2 Ensure mutex is unlocked 2015-11-13 23:37:12 -05:00
Justin Ethier
c4acbe0605 Added debug code 2015-11-13 21:09:20 -05:00
Justin Ethier
60b5256dba Fixed compilation errors 2015-11-12 21:44:36 -05:00
Justin Ethier
dfc8bb76b5 Fixes 2015-11-12 21:40:26 -05:00
Justin Ethier
f4b62156ba Added gc_add_mutator 2015-11-13 02:51:19 -05:00
Justin Ethier
df53ec99a6 Fixed heap init 2015-11-13 02:39:22 -05:00
Justin Ethier
149aea2c0a Added note 2015-11-13 02:20:54 -05:00
Justin Ethier
f1443979e6 Added heap write barrier 2015-11-13 02:19:23 -05:00
Justin Ethier
ae3ba3cd1a Added notes regarding update() 2015-11-12 22:49:51 -05:00
Justin Ethier
4bb24a4edd Added mutator cooperation function 2015-11-12 22:33:34 -05:00
Justin Ethier
cb7274526c WIP 2015-11-11 22:58:53 -05:00
Justin Ethier
c9d24c9a02 startup collector thread 2015-11-11 21:33:30 -05:00
Justin Ethier
6e6f079430 Added coarse-grained heap locking 2015-11-10 23:01:48 -05:00
Justin Ethier
0db95aa1c5 Added notes 2015-11-11 02:48:50 -05:00
Justin Ethier
ca27d4a5d4 Added TODO 2015-11-10 22:34:48 -05:00
Justin Ethier
62a9efc1f5 Relocated module globals, added heap lock var 2015-11-10 22:10:09 -05:00
Justin Ethier
41f2a9e6ca Working on gc_collector() 2015-11-10 21:16:40 -05:00
Justin Ethier
d3a6418b0b WIP 2015-11-09 23:04:56 -05:00
Justin Ethier
b24cc73982 Init globals, stubbed out wait handshake 2015-11-09 21:46:01 -05:00
Justin Ethier
0f040a0691 Removed stale comment 2015-11-10 03:08:54 -05:00
Justin Ethier
af3aa141f1 WIP 2015-11-10 03:08:29 -05:00
Justin Ethier
23cf9bd14c Added stubs 2015-11-09 23:22:27 -05:00
Justin Ethier
cfcce37982 Build out of collector_trace
Implementation may not be optimal, but should be good enough to prove collector works
2015-11-09 22:51:39 -05:00
Justin Ethier
2b2a96c84d Relocate mutator data structure to gc module 2015-11-09 22:25:17 -05:00
Justin Ethier
2460573534 Added GC4 2015-11-06 23:21:13 -05:00
Justin Ethier
fdc33e88af Cleanup 2015-11-06 22:02:31 -05:00
Justin Ethier
33abfc3bfa Relocate setjmp code to runtime 2015-11-06 21:28:12 -05:00
Justin Ethier
e1063c4e19 Added TODO 2015-11-07 02:57:55 -05:00
Justin Ethier
5fd25f977f Do a separate heap init on startup 2015-11-07 02:56:38 -05:00
Justin Ethier
4f3a7f4b5b Missed these 2015-11-06 22:32:45 -05:00
Justin Ethier
32465d5da8 Renamed minor GC args vars to be consistent with GC code 2015-11-06 22:31:31 -05:00
Justin Ethier
70645643ca Added TODO 2015-11-06 20:29:50 -05:00
Justin Ethier
9219279613 Use mutator number instead of casting pointer to an int 2015-11-06 20:28:27 -05:00
Justin Ethier
23453d264b Removed unused globals 2015-11-05 22:17:26 -05:00
Justin Ethier
8da3b29e89 Integrate gc_cont globals with thread data structure 2015-11-05 21:57:22 -05:00
Justin Ethier
19a4a9599c Move jmp_buf to thread data structure 2015-11-05 21:21:48 -05:00
Justin Ethier
7adc4f4586 WIP 2015-11-06 02:52:56 -05:00
Justin Ethier
6fb8d31597 Removed stack limit globals 2015-11-05 23:00:30 -05:00
Justin Ethier
287f660851 Moving stack limits away from global vars 2015-11-05 22:17:42 -05:00
Justin Ethier
c49044fce6 Stub for migrating to gc struct 2015-11-04 23:02:28 -05:00
Justin Ethier
2b493b15f0 Updated comment 2015-11-04 22:26:33 -05:00
Justin Ethier
4e69bfb758 Fix for functions with cont and no args 2015-11-04 22:02:57 -05:00
Justin Ethier
2d68fde138 Simplified code 2015-11-04 20:55:27 -05:00
Justin Ethier
4905df6261 Removed obsolete function 2015-11-05 02:49:07 -05:00
Justin Ethier
62b44d667a Add missing commas 2015-11-05 02:48:29 -05:00
Justin Ethier
9545200722 WIP 2015-11-04 23:21:56 -05:00
Justin Ethier
ee5c79184d Ease debugging 2015-11-04 23:14:30 -05:00