Commit graph

347 commits

Author SHA1 Message Date
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
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
19a4a9599c Move jmp_buf to thread data structure 2015-11-05 21:21:48 -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
be3857b1c8 Fixes to build 2015-10-30 23:35:47 -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
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
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
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
4ce75a2213 Debugging mark/sweep algorithms 2015-10-20 22:32:27 -04:00
Justin Ethier
90e2fdb1f5 Finished adding types to new GC functions 2015-10-19 22:41:28 -04:00
Justin Ethier
b08f68cf52 Perform major GC if necessary 2015-10-17 02:25:22 -04:00
Justin Ethier
dfdfd52a54 Added move to buffer function 2015-10-17 02:02:55 -04:00
Justin Ethier
e941b19db4 Added moveBuf and helper functions 2015-10-16 22:14:52 -04:00
Justin Ethier
3a68ce5a32 WIP, integrating directly with cyclone 2015-10-14 22:48:38 -04:00
Justin Ethier
4f74b0c3f7 Added experimental GC code 2015-10-08 22:31:42 -04:00