Commit graph

990 commits

Author SHA1 Message Date
Justin Ethier
4dd95d718e Added thread data argument 2015-11-02 22:44:32 -05:00
Justin Ethier
9ebe928f6b WIP 2015-10-30 23:16:20 -04: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
be3857b1c8 Fixes to build 2015-10-30 23:35:47 -04:00
Justin Ethier
5c55144691 For const colors, use define instead of declarations 2015-10-30 23:13:34 -04:00
Justin Ethier
2b849eb524 Temporarily removing pthread calls 2015-10-30 23:06:14 -04:00
Justin Ethier
cfc1f77bbc Added notes 2015-10-30 23:04:39 -04:00
Justin Ethier
be4fd84d63 Changed color values
Many types are allocated with a zeroed-out header, so making the red color 0 is now consistent with that code.
2015-10-30 18:50:33 -04:00
Justin Ethier
bfc9160c95 Ensure stack-allocated data is colored red. 2015-10-30 18:46:31 -04:00
Justin Ethier
fc83ee260b Added comments 2015-10-29 22:39:09 -04:00
Justin Ethier
fee0675fa2 Added red color to indicate stack alloc 2015-10-29 22:31:25 -04:00
Justin Ethier
b3af3aff73 Added note 2015-10-29 21:53:21 -04:00
Justin Ethier
2a226d376f WIP 2015-10-30 02:51:20 -04:00
Justin Ethier
51222b42c6 Stubbing-out collector functions 2015-10-29 22:45:28 -04:00
Justin Ethier
90609443f4 Added thread lock 2015-10-29 21:58:47 -04:00
Justin Ethier
40f2ac6207 Added notes 2015-10-29 18:43:21 -04:00
Justin Ethier
1becf84a47 WIP 2015-10-28 23:01:27 -04:00
Justin Ethier
60d55e8974 Added void* buffer util functions 2015-10-28 22:56:42 -04:00
Justin Ethier
91e52dda62 Added GC data structures 2015-10-28 22:14:14 -04:00
Justin Ethier
9e8a5c45a5 Added notes 2015-10-28 21:26:49 -04:00
Justin Ethier
22fe970b4a Added notes 2015-10-28 18:53:15 -04:00
Justin Ethier
4cb17436a6 Added more notes 2015-10-27 23:03:16 -04:00
Justin Ethier
86a188c337 Added notes 2015-10-27 23:01:31 -04:00
Justin Ethier
d069be3387 Need to remove extraneous printf 2015-10-26 23:08:15 -04:00
Justin Ethier
aee0525588 WIP 2015-10-26 23:06:29 -04:00
Justin Ethier
3f8526f3c5 Updated comments 2015-10-27 02:50:04 -04:00
Justin Ethier
d69f3c89ca Starting to add types/functions for tri-color marking 2015-10-26 22:31:28 -04:00
Justin Ethier
bbf4914d30 Cleanup 2015-10-24 00:58:06 -04:00
Justin Ethier
434bac8a2f Added gc-dev3 2015-10-23 22:58:57 -04:00
Justin Ethier
2527edac26 Reduce stack size to 1/4 MB for now 2015-10-23 22:53:36 -04:00
Justin Ethier
8f0a044e72 Forgot >= and instead used >
This makes a *HUGE* difference in performance, because otherwise it becomes problematic to re-use slots
2015-10-23 22:52:07 -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
0d9e4c3234 Bugfix 2015-10-22 22:33:45 -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
4beac74189 WIP 2015-10-20 23:07:10 -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
e5277abfb8 Copy gc.c during bootstrap 2015-10-20 21:15:17 -04:00
Justin Ethier
da4e7a9d87 Removed debug code 2015-10-20 18:43:02 -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