Commit graph

305 commits

Author SHA1 Message Date
Justin Ethier
3d0d966e6d Changed GC cooperation
Mark all objects moved to the heap, instead of just the typical roots.
2015-12-05 22:44:06 -05:00
Justin Ethier
17fbd853c7 Added note 2015-12-04 22:31:31 -05:00
Justin Ethier
09f4a638cf Added notes 2015-12-05 02:55:28 -05:00
Justin Ethier
ef0571b45e Move verbose output to stderr to make runtime logging easier 2015-12-03 23:14:18 -05:00
Justin Ethier
ea6167b90b Fixed debug statements 2015-12-03 02:51:58 -05:00
Justin Ethier
f6e14ef3a8 Added debugging 2015-12-01 22:34:39 -05:00
Justin Ethier
c70a69c202 WIP 2015-12-01 22:41:11 -05:00
Justin Ethier
52f0868d24 Selectively compile debug traces 2015-11-30 21:40:16 -05:00
Justin Ethier
e29633f2b2 Fixed off-by-one error WRT last read/write 2015-12-01 03:07:34 -05:00
Justin Ethier
ae46e39c45 Added TODO 2015-12-01 00:22:54 -05:00
Justin Ethier
7276eea773 Added debugging 2015-11-30 23:00:30 -05:00
Justin Ethier
b5849e10ed Added debug traces 2015-11-26 22:45:22 -05:00
Justin Ethier
604eb682c5 Trace object graph used to mark 2015-11-26 01:52:42 -05:00
Justin Ethier
c8d82f899f Debug alloc info 2015-11-26 00:15:43 -05:00
Justin Ethier
a257423999 More debugging 2015-11-25 23:54:16 -05:00
Justin Ethier
e95eeb8732 Record marking 2015-11-25 23:51:13 -05:00
Justin Ethier
ff1fc10a90 Added debug statements 2015-11-25 23:46:50 -05:00
Justin Ethier
6ad6f6e254 Added debug traces 2015-11-25 02:58:05 -05:00
Justin Ethier
3e7877b402 Working around mark-free-list problem for now, need to revisit this. 2015-11-24 23:09:49 -05:00
Justin Ethier
469cfa4c08 Debugging - how could gc_sweep/p be a value type? 2015-11-21 02:57:32 -05:00
Justin Ethier
d13327cfd4 Debugging 2015-11-21 02:14:57 -05:00
Justin Ethier
f5c60589b0 Debugging 2015-11-21 01:45:23 -05:00
Justin Ethier
b4659a563a WIP 2015-11-19 23:00:41 -05:00
Justin Ethier
2215807a7c WIP, need to get sweep (trace?) working 2015-11-19 21:18:52 -05:00
Justin Ethier
91e018c78b Testing in isolation without gc_sweep enabled 2015-11-20 02:56:59 -05:00
Justin Ethier
8945773e1c Added notes 2015-11-19 23:09:27 -05:00
Justin Ethier
8bf20a05b5 Copy objects into heap while we have the heap lock
Attempting to prevent issues with unitialized memory. Unfortunately this is not the primary cause of the errors.
2015-11-19 23:00:53 -05:00
Justin Ethier
173e1ca407 At least for now, exit on error so we can try to track them down 2015-11-19 02:57:32 -05:00
Justin Ethier
fc29269a26 Debugging 2015-11-19 02:51:22 -05:00
Justin Ethier
ee8aec5887 Added stack scanning to write barrier. Does not seem to help, though 2015-11-18 22:44:02 -05:00
Justin Ethier
4e30e6d551 Removed printf's, and broken case statement 2015-11-17 21:23:12 -05:00
Justin Ethier
56c9d48c89 Fixed wait for handshake 2015-11-18 01:21:44 -05:00
Justin Ethier
b609e1556f WIP 2015-11-17 23:29:57 -05:00
Justin Ethier
426bfe0365 Added additional locking 2015-11-16 23:06:26 -05:00
Justin Ethier
3d41425e88 Debugging... 2015-11-17 02:05:55 -05:00
Justin Ethier
2be274d1be Added TODO 2015-11-14 02:49:18 -05:00
Justin Ethier
1b0e1aed36 Decremented wrong variable 2015-11-14 00:21:02 -05:00
Justin Ethier
d50ae96505 Initialize mark stack 2015-11-13 23:59:34 -05:00
Justin Ethier
f27e4874f2 Ensure mutex is unlocked 2015-11-13 23:37:12 -05:00
Justin Ethier
c4acbe0605 Added debug code 2015-11-13 21:09:20 -05:00
Justin Ethier
60b5256dba Fixed compilation errors 2015-11-12 21:44:36 -05:00
Justin Ethier
dfc8bb76b5 Fixes 2015-11-12 21:40:26 -05:00
Justin Ethier
f4b62156ba Added gc_add_mutator 2015-11-13 02:51:19 -05:00
Justin Ethier
f1443979e6 Added heap write barrier 2015-11-13 02:19:23 -05:00
Justin Ethier
ae3ba3cd1a Added notes regarding update() 2015-11-12 22:49:51 -05:00
Justin Ethier
4bb24a4edd Added mutator cooperation function 2015-11-12 22:33:34 -05:00
Justin Ethier
cb7274526c WIP 2015-11-11 22:58:53 -05:00
Justin Ethier
c9d24c9a02 startup collector thread 2015-11-11 21:33:30 -05:00
Justin Ethier
6e6f079430 Added coarse-grained heap locking 2015-11-10 23:01:48 -05:00
Justin Ethier
0db95aa1c5 Added notes 2015-11-11 02:48:50 -05:00