Gareth Rees
768d4870bb
Merge new hashtable stuff from scheme-malloc.c.
...
Fix bug in scheme.c (characters were only 8 bytes on 64-bit platforms, so can't be forwarded).
Copied from Perforce
Change: 180231
ServerID: perforce.ravenbrook.com
2012-11-01 15:37:43 +00:00
Gareth Rees
589c4390f0
Typos.
...
Copied from Perforce
Change: 180211
ServerID: perforce.ravenbrook.com
2012-11-01 00:54:17 +00:00
Gareth Rees
37c725f76b
Weak hash tables in scheme-advanced.c.
...
Copied from Perforce
Change: 180208
ServerID: perforce.ravenbrook.com
2012-10-31 22:13:46 +00:00
Gareth Rees
07782b09d6
Move old scheme to example/scheme/scheme-malloc.c
...
Provide instructions to build it.
Copied from Perforce
Change: 180185
ServerID: perforce.ravenbrook.com
2012-10-31 12:02:11 +00:00
Gareth Rees
57846b3f16
Improve the scheme example hashtable implementation:
...
1. Follow R6RS for naming of functions and arguments.
2. Grow the hashtable when half full.
Copied from Perforce
Change: 180184
ServerID: perforce.ravenbrook.com
2012-10-31 11:54:25 +00:00
Gareth Rees
1a9d05284d
Improve bibliography references.
...
Copied from Perforce
Change: 180181
ServerID: perforce.ravenbrook.com
2012-10-30 22:28:19 +00:00
Gareth Rees
642dec713d
Format the readme in restructuredtext for consistency with the rest of the documentation. copy the "supported target platforms" section to the overview.
...
Copied from Perforce
Change: 180172
ServerID: perforce.ravenbrook.com
2012-10-30 17:37:28 +00:00
Gareth Rees
3f54ef29d1
Mps_free is not the only way to manually return memory to a pool (there's also mps_ap_frame_pop in some pools).
...
Copied from Perforce
Change: 180170
ServerID: perforce.ravenbrook.com
2012-10-30 17:18:44 +00:00
Gareth Rees
7ec9e16f0e
Start adding index entries.
...
Copied from Perforce
Change: 180157
ServerID: perforce.ravenbrook.com
2012-10-30 12:26:41 +00:00
Richard Brooksby
aa5acd945a
Miscellaneous fix-ups and clarifications. see diff for list, or this comment would be as long.
...
Copied from Perforce
Change: 180142
ServerID: perforce.ravenbrook.com
2012-10-29 17:17:56 +00:00
Gareth Rees
e33d88668c
Plural :term: links work automatically.
...
Copied from Perforce
Change: 180125
ServerID: perforce.ravenbrook.com
2012-10-28 23:03:15 +00:00
Gareth Rees
627e1ad8d6
Move pool classes to better filenames.
...
Other minor edits.
Copied from Perforce
Change: 180123
ServerID: perforce.ravenbrook.com
2012-10-28 21:17:02 +00:00
Gareth Rees
7d4750abc0
Misc minor edits.
...
Copied from Perforce
Change: 180118
ServerID: perforce.ravenbrook.com
2012-10-27 20:59:48 +01:00
Gareth Rees
10cdac4641
Avoid double "initially".
...
Copied from Perforce
Change: 180105
ServerID: perforce.ravenbrook.com
2012-10-26 14:41:47 +01:00
Gareth Rees
47eff732b7
Amcz probably a better choice than lo here.
...
Copied from Perforce
Change: 180104
ServerID: perforce.ravenbrook.com
2012-10-26 14:40:50 +01:00
Gareth Rees
33d375ab74
Merge nb's eventcnv changes and rewrite guide/debug and topic/telemetry accordingly.
...
Copied from Perforce
Change: 180103
ServerID: perforce.ravenbrook.com
2012-10-26 14:35:10 +01:00
Gareth Rees
0cd1f009e9
Write debugging pools chapter.
...
Copied from Perforce
Change: 180099
ServerID: perforce.ravenbrook.com
2012-10-26 13:15:56 +01:00
Gareth Rees
fc7bd8a201
Write "collection" chapter.
...
Copied from Perforce
Change: 180095
ServerID: perforce.ravenbrook.com
2012-10-26 12:11:55 +01:00
Gareth Rees
5828766a9a
Simplify scheme hash table implementation by folding the hash into buckets_find.
...
Copied from Perforce
Change: 180086
ServerID: perforce.ravenbrook.com
2012-10-25 21:18:40 +01:00
Gareth Rees
6f00a2f8bd
Write location chapter.
...
Copied from Perforce
Change: 180080
ServerID: perforce.ravenbrook.com
2012-10-25 17:58:49 +01:00
Gareth Rees
62f31ec180
Interpreter doesn't print if the result is undefined (following similar behaviour in the python interpreter when the result is none).
...
Copied from Perforce
Change: 180078
ServerID: perforce.ravenbrook.com
2012-10-25 15:44:18 +01:00
Gareth Rees
3442307402
Improve hash table implementation to make it more amenable to garbage collection.
...
Copied from Perforce
Change: 180077
ServerID: perforce.ravenbrook.com
2012-10-25 15:24:31 +01:00
Gareth Rees
175002d3d4
Basic eq? hash table implementation.
...
Copied from Perforce
Change: 180076
ServerID: perforce.ravenbrook.com
2012-10-25 14:55:48 +01:00
Gareth Rees
f7cf9e366c
Be clear about the need to reserve lots of address space in a virtual memory arena.
...
Copied from Perforce
Change: 180071
ServerID: perforce.ravenbrook.com
2012-10-25 11:34:45 +01:00
Gareth Rees
e672008beb
Migrate scheme improvements back in time to scheme-before.c:
...
* tail calls;
* bug fix in append;
* new procedures: procedure?, <, >, open-input-file, char?, char->integer, integer->char, string?, make-string, string, string-length, string-ref, substring, string-append, string->list, list->string, string-copy.
Minor changes (e.g. "@@@@" to "TODO") to make the files easier to diff in future.
Copied from Perforce
Change: 180069
ServerID: perforce.ravenbrook.com
2012-10-25 10:20:48 +01:00
Gareth Rees
c2706478b1
Write scanning chapter.
...
Copied from Perforce
Change: 180061
ServerID: perforce.ravenbrook.com
2012-10-24 22:00:22 +01:00
Gareth Rees
6675558167
Complete actions from meeting with rb.
...
Copied from Perforce
Change: 180056
ServerID: perforce.ravenbrook.com
2012-10-24 16:25:19 +01:00
Gareth Rees
07b169a47e
Link directly to allocation point protocol reference instead of via glossary.
...
Copied from Perforce
Change: 180043
ServerID: perforce.ravenbrook.com
2012-10-24 01:40:51 +01:00
Gareth Rees
7f083a924b
Implement nb's suggestions.
...
Copied from Perforce
Change: 180038
ServerID: perforce.ravenbrook.com
2012-10-23 20:13:46 +01:00
Gareth Rees
409df3634f
Fix cross-references.
...
Put the contact details in the sidebar on all pages.
Copied from Perforce
Change: 180035
ServerID: perforce.ravenbrook.com
2012-10-23 18:00:11 +01:00
Gareth Rees
089e255a61
Changes resulting from discussion with rb.
...
Copied from Perforce
Change: 180034
ServerID: perforce.ravenbrook.com
2012-10-23 17:41:54 +01:00
Gareth Rees
fe0caeab26
Be clear that the "dont-handle-bad-access" workaround is mac os x specific.
...
Copied from Perforce
Change: 180005
ServerID: perforce.ravenbrook.com
2012-10-22 13:03:42 +01:00
Gareth Rees
53a98a55d1
Improve the overview diagram by distinguishing roots from other references.
...
Copied from Perforce
Change: 180002
ServerID: perforce.ravenbrook.com
2012-10-22 11:06:10 +01:00
Gareth Rees
d580560eed
Might be a good idea to set mps_telemetry_control in your .gdbinit.
...
Copied from Perforce
Change: 180001
ServerID: perforce.ravenbrook.com
2012-10-22 10:49:23 +01:00
Gareth Rees
ad09bc88ef
Brief overview of the mps.
...
Copied from Perforce
Change: 180000
ServerID: perforce.ravenbrook.com
2012-10-22 10:43:21 +01:00
Gareth Rees
6ac649b90e
Typo.
...
Copied from Perforce
Change: 179997
ServerID: perforce.ravenbrook.com
2012-10-21 23:01:59 +01:00
Gareth Rees
9e7c555f03
Improve the discussion of the symptoms of the size bug.
...
Copied from Perforce
Change: 179994
ServerID: perforce.ravenbrook.com
2012-10-21 22:52:42 +01:00
Gareth Rees
9f729e073e
Write some more debugging guide.
...
Copied from Perforce
Change: 179993
ServerID: perforce.ravenbrook.com
2012-10-21 22:44:06 +01:00
Gareth Rees
483dcee164
Another kind of error.
...
Copied from Perforce
Change: 179992
ServerID: perforce.ravenbrook.com
2012-10-21 22:11:37 +01:00
Gareth Rees
834ca26284
User guide on debugging and telemetry
...
Document telemetry environment variables and eventcnv program.
Copied from Perforce
Change: 179989
ServerID: perforce.ravenbrook.com
2012-10-21 18:05:00 +01:00
Gareth Rees
8ffd4888aa
Configure highlight_language = 'c' since nearly all of our examples will be in c.
...
Copied from Perforce
Change: 179988
ServerID: perforce.ravenbrook.com
2012-10-21 00:11:07 +01:00
Gareth Rees
19abc533f6
Miscellaneous minor edits.
...
Copied from Perforce
Change: 179977
ServerID: perforce.ravenbrook.com
2012-10-19 23:06:26 +01:00
Gareth Rees
65f88af86c
Propagate changes from scheme-after.c to scheme.c; the former is no longer needed.
...
Convert license.txt and built.txt to reStructuredText and include them directly in the manual.
Copied from Perforce
Change: 179957
ServerID: perforce.ravenbrook.com
2012-10-19 11:26:25 +01:00
Gareth Rees
1e64f34337
Document mps_collections, mps_definalize, mps_pool_check_free_space, mps_pool_create, mps_pool_create_v, mps_thread_reg, and mps_thread_dereg.
...
Tighten wording in a few places.
Copied from Perforce
Change: 179952
ServerID: perforce.ravenbrook.com
2012-10-18 23:41:41 +01:00
Gareth Rees
7b1db23369
Implement actions based on discussion with rb.
...
Copied from Perforce
Change: 179945
ServerID: perforce.ravenbrook.com
2012-10-18 16:55:42 +01:00
Gareth Rees
977884f484
New glossary entry: "allocation frame".
...
Document symbols mps_addr_fmt, mps_addr_pool, mps_arena_destroy, mps_arena_extend, mps_arena_reserved, mps_fmt_destroy, mps_frame_t, mps_pool_destroy, mps_rm_t, mps_root_destroy, mps_word_t.
Copied from Perforce
Change: 179940
ServerID: perforce.ravenbrook.com
2012-10-18 15:00:41 +01:00
Gareth Rees
50345ba544
Move user-facing material from rhsk's wiki to the manual:
...
New glossary entry "foreign code"
Explain how to find the alignment for your object format.
Document symbols: mps_class_mv, mps_arena_start_collect, mps_arena_step, mps_chain_create, mps_chain_destroy, mps_chain_t, mps_gen_param_s.
Copied from Perforce
Change: 179935
ServerID: perforce.ravenbrook.com
2012-10-18 13:10:41 +01:00
Gareth Rees
5c8d2012c4
Fix heading levels in the pool documentation.
...
Improve "choosing a pool".
Copied from Perforce
Change: 179933
ServerID: perforce.ravenbrook.com
2012-10-18 10:11:49 +01:00
Gareth Rees
7a3534b401
Complete more tasks from discussion with rb yesterday.
...
Copied from Perforce
Change: 179931
ServerID: perforce.ravenbrook.com
2012-10-18 09:26:59 +01:00
Gareth Rees
322ee2b7ef
Procedure for choosing a pool class.
...
Copied from Perforce
Change: 179928
ServerID: perforce.ravenbrook.com
2012-10-17 22:30:41 +01:00