Commit graph

473 commits

Author SHA1 Message Date
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
c49044fce6 Stub for migrating to gc struct 2015-11-04 23:02:28 -05:00
Justin Ethier
a84c8b9339 WIP 2015-11-03 23:04:13 -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
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
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
fee0675fa2 Added red color to indicate stack alloc 2015-10-29 22:31:25 -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
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
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
2527edac26 Reduce stack size to 1/4 MB for now 2015-10-23 22:53:36 -04:00
Justin Ethier
31a2b276b3 Measuring and attempting to improve performance 2015-10-23 22:13:11 -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
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
4ce75a2213 Debugging mark/sweep algorithms 2015-10-20 22:32:27 -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
7e37e1710d Build-out of most of the GC move cases 2015-10-16 23:04:40 -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
d7640c988b Added gc_move, but still need to build it out 2015-10-15 22:52:38 -04:00
Justin Ethier
2db7a2e86c WIP 2015-10-14 23:01:58 -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
Justin Ethier
722b303bb7 Bugfixes 2015-10-13 22:46:51 -04:00
Justin Ethier
c332e84eac Switched order of parameters in Cyc_string_append 2015-10-13 21:50:06 -04:00
Justin Ethier
1bc65d99cd Working on converting string_append to call into cont 2015-10-12 22:49:31 -04:00
Justin Ethier
e6880850bc Update how GC handles strings in memory 2015-10-12 21:57:30 -04:00
Justin Ethier
53aad98d71 Converted Cyc-installation-dir 2015-10-10 22:18:54 -04:00
Justin Ethier
09515b2141 Converted substring 2015-10-10 22:04:36 -04:00
Justin Ethier
11d15842ba Added more make string macros and fixed related bugs 2015-10-09 23:30:47 -04:00
Justin Ethier
72917f4fbb Converting make_string functions 2015-10-09 22:24:43 -04:00
Justin Ethier
d027b85a64 Setting stage to change how strings are stored 2015-10-10 02:22:14 -04:00
Justin Ethier
b7d13e6899 WIP 2015-10-10 02:21:10 -04:00