Commit graph

470 commits

Author SHA1 Message Date
Justin Ethier
d6f5a81f2d Fixed compiler warnings 2016-07-19 23:02:21 -04:00
Justin Ethier
1c0c0bb315 Change how mutations are stored in memory
Use a reallocated memory buffer instead of malloc'd pairs. This should speed things up by reducing the number of allocations and by keeping mutations in contiguous sections of memory.
2016-07-15 23:14:36 -04:00
Justin Ethier
9e2a51fdae Refactoring 2016-07-15 21:22:50 -04:00
Justin Ethier
f75b077270 Added (Cyc-macro?) 2016-07-14 22:18:46 -04:00
Justin Ethier
7caa67a51c Include function name in args error 2016-07-12 21:05:45 -04:00
Justin Ethier
aac1c44b3d Attempt to allocate huge vectors on the heap 2016-07-06 23:38:57 -04:00
Justin Ethier
f526eeb6f3 Populate huge object heap 2016-07-06 23:07:43 -04:00
Justin Ethier
54f217fd4b Added gc_heap_type and HEAP_HUGE 2016-07-06 20:30:23 -04:00
Justin Ethier
199b685de3 Use only one comparison in closcall macros
This improves performance a bit since these macros are called after almost every C function.
2016-07-04 22:42:35 -04:00
Justin Ethier
db39595d23 Return object, not void 2016-07-01 01:07:13 -04:00
Justin Ethier
63e476839f va_args version of apply for eval 2016-06-29 22:14:58 -04:00
Justin Ethier
67c00ae7ed WIP version of dispatch_apply_va 2016-06-30 00:09:17 -04:00
Justin Ethier
a2dccabdb7 Initial version of gc_heap_free() 2016-06-27 20:45:23 -04:00
Justin Ethier
378b5f1c3e Experimenting with MRG32k3a 2016-06-20 22:50:35 -04:00
Justin Ethier
24cf670237 Added Cyc-opaque? 2016-04-26 21:52:30 -04:00
Justin Ethier
161c46ac72 Added Cyc_is_opaque 2016-04-27 04:05:54 -04:00
Justin Ethier
a946a6cb69 Refactoring 2016-04-27 03:58:38 -04:00
Justin Ethier
7181268d6b Ran 'make indent' 2016-04-27 03:49:41 -04:00
Justin Ethier
5d1a605b66 Refactoring 2016-04-27 02:24:05 -04:00
Justin Ethier
008c857755 Refactoring 2016-04-26 23:33:36 -04:00
Justin Ethier
df20aaa6d3 Refactoring 2016-04-20 23:42:21 -04:00
Justin Ethier
ef1db96f2a Refactoring 2016-04-20 23:10:46 -04:00
Justin Ethier
9bcdd35370 Added more GC constants 2016-04-20 22:07:14 -04:00
Justin Ethier
b4d67004fe Cleaned up list of tags 2016-04-21 03:37:20 -04:00
Justin Ethier
f89d35bb09 Removed unused functions 2016-04-21 00:48:56 -04:00
Justin Ethier
ea225a3ab7 Refactoring 2016-04-21 00:36:51 -04:00
Justin Ethier
f3476da8a7 Refactoring 2016-04-21 00:16:33 -04:00
Justin Ethier
aa85e34002 Refactoring 2016-04-20 23:45:35 -04:00
Justin Ethier
6a5713da36 Refactoring 2016-04-20 23:21:15 -04:00
Justin Ethier
40416364f8 Refactoring 2016-04-20 23:00:04 -04:00
Justin Ethier
63a2204efc Refactoring 2016-04-20 22:20:02 -04:00
Justin Ethier
f5c258e76d Added comments 2016-04-20 21:57:40 -04:00
Justin Ethier
dfe9b477c2 Refactoring 2016-04-20 21:54:03 -04:00
Justin Ethier
b14d25afc9 Decrease memory usage of object header 2016-04-20 21:46:28 -04:00
Justin Ethier
55c884ef4e indent -linux -l80 -i2 -nut types.h 2016-04-20 21:01:29 -04:00
Justin Ethier
b734d1aef2 Refactoring 2016-04-20 03:57:30 -04:00
Justin Ethier
8d34ce909b Refactoring 2016-04-20 03:42:10 -04:00
Justin Ethier
3553d0773c Refactoring 2016-04-20 03:39:58 -04:00
Justin Ethier
884f26c72d Refactoring 2016-04-20 03:26:54 -04:00
Justin Ethier
dc33c2fd7e Refactoring 2016-04-20 03:22:12 -04:00
Justin Ethier
2ee4cd05b2 Refactoring 2016-04-20 03:18:51 -04:00
Justin Ethier
79c7cbed97 Refactoring 2016-04-20 03:02:03 -04:00
Justin Ethier
d2c8224444 Refactoring 2016-04-20 02:47:05 -04:00
Justin Ethier
0a189792f6 Fix macro expansion issue 2016-04-19 21:14:11 -04:00
Justin Ethier
40f9da2f22 Fixed type/tag 2016-04-19 21:01:37 -04:00
Justin Ethier
6714f0eb84 Fixed typo 2016-04-19 20:59:10 -04:00
Justin Ethier
224c811913 Fix macro 2016-04-19 20:51:06 -04:00
Justin Ethier
baa2be0bcf Added opaque types 2016-04-18 22:07:57 -04:00
Justin Ethier
71d085091d Fully-generalize gc algorithms
Updated code to support 3 types of heaps, based on size. Need to be able to use the old algorithms to inspect the active size of each heap. We need to collect if one of the sub-heaps is almost full, even if the others are mostly empty.
2016-04-12 21:47:41 -04:00
Justin Ethier
89881e901a Experimenting with a medium object heap 2016-04-12 21:34:18 -04:00