Commit graph

1118 commits

Author SHA1 Message Date
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
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
Justin Ethier
dfdfd52a54 Added move to buffer function 2015-10-17 02:02:55 -04:00
Justin Ethier
076a9316e0 Added notes 2015-10-16 22:44:42 -04:00
Justin Ethier
e941b19db4 Added moveBuf and helper functions 2015-10-16 22:14:52 -04:00
Justin Ethier
d7640c988b Added gc_move, but still need to build it out 2015-10-15 22:52:38 -04:00
Justin Ethier
3363bf477d Working on gc_move2heap 2015-10-16 02:18:09 -04:00
Justin Ethier
e2f8a93439 WIP 2015-10-15 22:38:27 -04:00
Justin Ethier
fba366c7f9 Added notes 2015-10-15 18:39:48 -04:00
Justin Ethier
2db7a2e86c WIP 2015-10-14 23:01:58 -04:00
Justin Ethier
3a68ce5a32 WIP, integrating directly with cyclone 2015-10-14 22:48:38 -04:00
Justin Ethier
057c40eba8 Added more notes 2015-10-14 23:15:58 -04:00
Justin Ethier
e99301024a Added notes for switching GC's 2015-10-14 22:56:25 -04:00
Justin Ethier
241a54324d Merge remote-tracking branch 'origin/gc-dev2' into gc-dev2
Conflicts:
	include/cyclone/types.h
2015-10-13 22:48:14 -04:00
Justin Ethier
738fe0439e Bug fixes 2015-10-13 22:51:25 -04:00