Commit graph

251 commits

Author SHA1 Message Date
Justin Ethier
52f0868d24 Selectively compile debug traces 2015-11-30 21:40:16 -05:00
Justin Ethier
7276eea773 Added debugging 2015-11-30 23:00:30 -05:00
Justin Ethier
b5849e10ed Added debug traces 2015-11-26 22:45:22 -05:00
Justin Ethier
ff1fc10a90 Added debug statements 2015-11-25 23:46:50 -05:00
Justin Ethier
2215807a7c WIP, need to get sweep (trace?) working 2015-11-19 21:18:52 -05:00
Justin Ethier
ec6140b3a4 Ensure stack objects are properly marked 2015-11-20 02:50:46 -05:00
Justin Ethier
8bf20a05b5 Copy objects into heap while we have the heap lock
Attempting to prevent issues with unitialized memory. Unfortunately this is not the primary cause of the errors.
2015-11-19 23:00:53 -05:00
Justin Ethier
fc29269a26 Debugging 2015-11-19 02:51:22 -05:00
Justin Ethier
ee8aec5887 Added stack scanning to write barrier. Does not seem to help, though 2015-11-18 22:44:02 -05:00
Justin Ethier
e4c4148a74 Attemping to add write barrier for set operations 2015-11-17 23:03:11 -05:00
Justin Ethier
b609e1556f WIP 2015-11-17 23:29:57 -05:00
Justin Ethier
f4773216c6 Unnecessary getchar 2015-11-14 00:21:15 -05:00
Justin Ethier
dfc8bb76b5 Fixes 2015-11-12 21:40:26 -05:00
Justin Ethier
df53ec99a6 Fixed heap init 2015-11-13 02:39:22 -05:00
Justin Ethier
f1443979e6 Added heap write barrier 2015-11-13 02:19:23 -05:00
Justin Ethier
4bb24a4edd Added mutator cooperation function 2015-11-12 22:33:34 -05:00
Justin Ethier
6e6f079430 Added coarse-grained heap locking 2015-11-10 23:01:48 -05:00
Justin Ethier
41f2a9e6ca Working on gc_collector() 2015-11-10 21:16:40 -05:00
Justin Ethier
33abfc3bfa Relocate setjmp code to runtime 2015-11-06 21:28:12 -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
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
2b493b15f0 Updated comment 2015-11-04 22:26:33 -05:00
Justin Ethier
4838dfb40f Fixed compilation errors for libcyclone.a 2015-11-03 22:58:34 -05:00
Justin Ethier
e1c308d2b1 Adding data argument 2015-11-02 22:47:55 -05:00
Justin Ethier
4dd95d718e Added thread data argument 2015-11-02 22:44:32 -05:00
Justin Ethier
196cc51431 WIP 2015-10-30 21:50:46 -04:00
Justin Ethier
866fbcac9a WIP 2015-10-31 02:55:20 -04:00
Justin Ethier
bfc9160c95 Ensure stack-allocated data is colored red. 2015-10-30 18:46:31 -04:00
Justin Ethier
aee0525588 WIP 2015-10-26 23:06:29 -04:00
Justin Ethier
bbf4914d30 Cleanup 2015-10-24 00:58:06 -04:00
Justin Ethier
31a2b276b3 Measuring and attempting to improve performance 2015-10-23 22:13:11 -04:00
Justin Ethier
7a45137ca2 Added debug statements 2015-10-23 19:48:55 -04:00
Justin Ethier
a9c0411a16 Bugfixes 2015-10-22 22:51:20 -04:00
Justin Ethier
25303fc4a5 Added temporary debug code to stop after 2 major GC's 2015-10-23 02:44:55 -04:00
Justin Ethier
849b28b54c Removed debug output 2015-10-23 02:32:15 -04:00
Justin Ethier
c10d7c7829 Account for heap header when alloc memory for heap 2015-10-22 22:23:43 -04:00
Justin Ethier
ee01b2679b Added debug code 2015-10-21 22:55:58 -04:00
Justin Ethier
0eb6be21d4 Remove debug code 2015-10-20 23:06:48 -04:00
Justin Ethier
4ce75a2213 Debugging mark/sweep algorithms 2015-10-20 22:32:27 -04:00
Justin Ethier
a6fc199907 Bugfix in allocating cons cell, cdr was being set to null.
Also updated move2heap code to use 'hp' as the destination object. Using hobj and obj seemed to be asking for trouble.
2015-10-19 22:02:45 -04:00
Justin Ethier
1664e20d4c Initialize elts member during heap allocation 2015-10-20 02:20:48 -04:00
Justin Ethier
137305bbc9 Bug fixes 2015-10-20 02:13:31 -04:00
Justin Ethier
fb389a019f More bug fixes 2015-10-20 01:57:16 -04:00
Justin Ethier
20e71fff3b Bug fixes 2015-10-20 01:54:15 -04:00