Commit graph

692 commits

Author SHA1 Message Date
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
Justin Ethier
87def0fc67 Noted TODO 2015-10-20 00:33:42 -04:00
Justin Ethier
1505274640 Explicit GC of globals during minor collection, at least for now 2015-10-20 00:17:53 -04:00
Justin Ethier
cc4b3f36b4 Added TODO 2015-10-19 22:44:47 -04:00
Justin Ethier
90e2fdb1f5 Finished adding types to new GC functions 2015-10-19 22:41:28 -04:00
Justin Ethier
0f9ab2670d Added TODO 2015-10-16 23:05:22 -04:00
Justin Ethier
7e37e1710d Build-out of most of the GC move cases 2015-10-16 23:04:40 -04:00
Justin Ethier
9895029a90 Added remaining types to scanning section 2015-10-16 21:53:26 -04:00
Justin Ethier
b08f68cf52 Perform major GC if necessary 2015-10-17 02:25:22 -04:00
Justin Ethier
5ed84d5332 Loop over allocated space 2015-10-17 02:14:01 -04:00