Commit graph

31 commits

Author SHA1 Message Date
Alex Shinn
0a22de0e12 type printers are now stored as opcodes instead of generated on the fly 2011-11-07 01:00:26 +09:00
Alex Shinn
d4f56f8a40 Adding preservatives. 2011-11-04 22:42:17 +09:00
Alex Shinn
8146be0250 Various fixes for alternate builds. 2011-11-04 18:39:26 +09:00
Alex Shinn
78c7eac033 SEXP_OP_CLOSURE_REF takes a non-sexp integer parameter, so we shouldn't adjust it when loading images 2011-11-04 14:38:22 +09:00
Alex Shinn
ae77cddba0 image loading fixes 2011-11-02 13:13:07 +00:00
Alex Shinn
1e01258724 fixing bytecode offsets in images, allowing the image heap size and init heap size to differ 2011-10-31 00:10:56 +09:00
Alex Shinn
938f527c79 RTLD_SELF is osx-specific 2011-10-03 01:57:52 +00:00
Alex Shinn
93696841ed re-creating ports on image loading 2011-09-25 10:55:24 +09:00
Alex Shinn
4f9903db00 initial image file support 2011-09-24 17:18:35 +09:00
Alex Shinn
54f913fa2a adding basic oom tests 2011-08-19 01:43:44 +09:00
Alex Shinn
28c227c604 fixing GLOBAL_HEAP build 2011-05-26 08:16:50 +09:00
Alex Shinn
a85cc23f31 removing accidentally committed debug code 2011-04-03 22:25:48 +09:00
Alex Shinn
0f9a23f94f -e/-p options in main had a long-standing stupid gc bug 2011-04-03 22:15:48 +09:00
Alex Shinn
afc6a96d68 Adding more OOM checks (issue #59), thanks rotty. 2011-02-27 20:53:12 +09:00
Alex Shinn
47a0656f5c don't blow the stack during mark except in pathological cases
(should still implement D/S/W for those cases)
2011-02-15 22:44:26 +09:00
Alex Shinn
d2e520c1ec removing extraneous call to gc_mark 2011-02-14 23:49:51 +09:00
Alex Shinn
ca46c64be5 more precise heap end checks 2011-02-12 20:20:53 +09:00
Alex Shinn
3804c0ecb2 s/gc_mark/markedp to avoid confusion with the mark command 2011-02-12 17:03:58 +09:00
Alex Shinn
3aeef15032 cleaning up gc debug 2011-02-12 17:00:55 +09:00
Alex Shinn
c17e9b64b0 don't check tags of free blocks when debugging 2011-02-10 00:46:37 +09:00
Alex Shinn
10ce6a47cb fixing GC_DEBUG>=2 2011-02-10 00:44:00 +09:00
Alex Shinn
e455d7b2cb don't print any debug info about potentially invalid objects 2011-02-09 23:45:25 +09:00
Alex Shinn
fa730ee28e applying SAFE_GC_MARK debug checks before dereferencing objects 2011-02-09 23:43:44 +09:00
Alex Shinn
630eb235ab adding debug messages during mark 2011-02-09 23:34:33 +09:00
Alex Shinn
3b5a2b98cf cleaning up gc debugging 2011-02-09 23:16:37 +09:00
Alex Shinn
e57a587216 Can conservatively preserve only one type of value for debugging. 2011-01-10 17:16:11 +09:00
Alex Shinn
a82a13094d Fixing heap checks when using header magic or tracking alloc sources. 2011-01-10 16:51:48 +09:00
Alex Shinn
23382e9540 allowing per-heap maximum size limit as a new argument to sexp_make_eval_context
can specify on the command line with -h 1M/2M (set to 0 for no limit)
2010-12-30 11:26:15 +09:00
Alex Shinn
7306b55350 adding ability to track the alloc source of objects 2010-12-29 18:33:37 +09:00
Alex Shinn
2eaf4068e5 several gc bugfixes (fixes #52) 2010-12-05 16:50:57 -08:00
Alex Shinn
acf3d1c120 fixes for SEXP_USE_SAFE_ACCESSORS on macosx 2010-09-18 14:50:24 +09:00