Gareth Rees
09d0dfc481
Document the intention behind mps_ld_isstale rather than the implementation: it captures the intention of testing whether a particular dependency is stale (even though the implementation in fact tests whether any dependency is stale). add new function mps_ls_isstale_any for expressing the intention of testing whether any dependencey is stale. the two functions have the same implementation at present, but the separation gives us the freedom to return a more precise result from mps_ld_isstale in future.
...
Copied from Perforce
Change: 182816
ServerID: perforce.ravenbrook.com
2013-06-20 16:25:08 +01:00
Gareth Rees
d7c5176513
Add #memorypoolsystem to contact page and to sidebar.
...
Copied from Perforce
Change: 182809
ServerID: perforce.ravenbrook.com
2013-06-19 15:35:31 +01:00
Gareth Rees
018a411e2c
Fix typo.
...
Copied from Perforce
Change: 182807
ServerID: perforce.ravenbrook.com
2013-06-19 13:34:12 +01:00
Gareth Rees
ecf9225546
Fix typo.
...
Copied from Perforce
Change: 182805
ServerID: perforce.ravenbrook.com
2013-06-19 13:00:09 +01:00
Gareth Rees
514d0bea39
Improvements to clarity of weak hash table implementation:
...
* TAG_SIZE was changed to TAG_COUNT in the code, so make the corresponding change in the manual.
* Avoid the "+= 2" hack: use TAG_COUNT(UNTAG_COUNT(...) + 1). Clarity is more important than speed here.
* Use obj_unused for unused hash table entries so that there can be no confusion between NULL meaning "unused" and NULL meaning "splatted by the garbage collector".
* Add references from the example code to the notes.
Copied from Perforce
Change: 182804
ServerID: perforce.ravenbrook.com
2013-06-19 12:59:49 +01:00
Gareth Rees
82631dd694
Improve the discussion of testing dependencies for staleness.
...
Copied from Perforce
Change: 182803
ServerID: perforce.ravenbrook.com
2013-06-19 12:56:53 +01:00
Richard Brooksby
768aaa293d
Fixing up restructuredtext syntax.
...
Copied from Perforce
Change: 182801
ServerID: perforce.ravenbrook.com
2013-06-19 00:13:20 +01:00
Richard Brooksby
97da2a68e5
Converting mps procedure documentation to restructuredtext.
...
Copied from Perforce
Change: 182799
ServerID: perforce.ravenbrook.com
2013-06-18 23:56:05 +01:00
Gareth Rees
dbdf90119d
Move the poolhasrange test to pool.c so that all frees (including internal ones) get the check.
...
Copied from Perforce
Change: 182783
ServerID: perforce.ravenbrook.com
2013-06-17 17:52:25 +01:00
Richard Brooksby
08b8239974
Adding reference to skip lists paper.
...
Copied from Perforce
Change: 182763
ServerID: perforce.ravenbrook.com
2013-06-15 22:32:35 +01:00
Richard Brooksby
1ea9ffdac4
Suppress warnings about uninitialized use of eof.
...
Copied from Perforce
Change: 182750
ServerID: perforce.ravenbrook.com
2013-06-15 14:38:00 +01:00
Richard Brooksby
dc3fe5546b
Eliminating eventpro.c and simplifying event reading in eventcnv.
...
Copied from Perforce
Change: 182748
ServerID: perforce.ravenbrook.com
2013-06-15 14:24:52 +01:00
Richard Brooksby
117c85cce4
Adding the scheme example to the xcode project.
...
Adding a simple Scheme benchmark program to stress the MPS mildly.
Copied from Perforce
Change: 182711
ServerID: perforce.ravenbrook.com
2013-06-12 23:30:28 +01:00
Richard Brooksby
03a84ad1c5
Ensuring that the arena passes consistency checking before calling vmarenatrivextended, by setting the zoneshift and alignment at the same time.
...
Copied from Perforce
Change: 182708
ServerID: perforce.ravenbrook.com
2013-06-12 20:02:29 +01:00
Richard Brooksby
f9724af3e0
Catch-up merge from custom/cet/main to master, to pick up arena extension callbacks.
...
Copied from Perforce
Change: 182701
ServerID: perforce.ravenbrook.com
2013-06-12 15:33:49 +01:00
Richard Brooksby
fb834c8913
Deleting manual build products from the source tree, as these are now built automatically on the web server.
...
Copied from Perforce
Change: 182683
ServerID: perforce.ravenbrook.com
2013-06-12 09:57:19 +01:00
Richard Brooksby
094f585939
Fixing copy-paste error in description of mps_message_type_enable.
...
Copied from Perforce
Change: 182678
ServerID: perforce.ravenbrook.com
2013-06-11 14:21:35 +01:00
Richard Brooksby
e1375f8a2a
Adding a .p4ignore to ignore generated design documents.
...
Copied from Perforce
Change: 182677
ServerID: perforce.ravenbrook.com
2013-06-11 14:16:38 +01:00
Richard Brooksby
b19ba4d5c5
Removing design stub files accidentally created by merging.
...
Copied from Perforce
Change: 182676
ServerID: perforce.ravenbrook.com
2013-06-11 14:15:00 +01:00
Gareth Rees
532325cc4d
Mps_key_align now used by mps_class_mvt.
...
Copied from Perforce
Change: 182668
ServerID: perforce.ravenbrook.com
2013-06-09 23:28:53 +01:00
Richard Brooksby
c27e96fe92
Adjusting statement that assertions aren't serious.
...
Copied from Perforce
Change: 182652
ServerID: perforce.ravenbrook.com
2013-06-08 22:07:44 +01:00
Gareth Rees
ef2e69f815
Release notes.
...
Copied from Perforce
Change: 182648
ServerID: perforce.ravenbrook.com
2013-06-08 20:43:19 +01:00
Gareth Rees
4c328fc243
Fix links from manual to converted design documents (ref target must follow index declaration, not precede it).
...
Fix conversion of citations when an element is missing.
Converted design documents depend on the converter.
Copied from Perforce
Change: 182638
ServerID: perforce.ravenbrook.com
2013-06-08 18:06:16 +01:00
Gareth Rees
78067a8f56
Separate the consideration of automatic and manual pool classes, so that we can ask the appropriate questions in each case.
...
Copied from Perforce
Change: 182636
ServerID: perforce.ravenbrook.com
2013-06-08 17:49:26 +01:00
Gareth Rees
559703b2ca
Fix handling of -i and -o options.
...
Copied from Perforce
Change: 182634
ServerID: perforce.ravenbrook.com
2013-06-08 16:29:04 +01:00
Gareth Rees
eaad083f93
Improve the explanation at the start of globalsfinish.
...
Put assertion from vmChunkDestroy into the manual.
Copied from Perforce
Change: 182633
ServerID: perforce.ravenbrook.com
2013-06-08 16:16:48 +01:00
Richard Brooksby
3f4b601a61
Added missing documentation of the default values of reserve depth and frag limit in mvt.
...
Copied from Perforce
Change: 182626
ServerID: perforce.ravenbrook.com
2013-06-08 13:44:25 +01:00
Gareth Rees
293e78f372
Fri6gc needs the same flags as fri3gc in order to compile mpseventsql.
...
Copied from Perforce
Change: 182624
ServerID: perforce.ravenbrook.com
2013-06-08 13:30:38 +01:00
Richard Brooksby
137c8f00a0
Correcting statement that mvt doesn't accept an alignment.
...
Using MPS_PF_ALIGN reference to describe the default value of MPS_KEY_ALIGN in MVT and MVFF.
Copied from Perforce
Change: 182623
ServerID: perforce.ravenbrook.com
2013-06-08 13:30:06 +01:00
Richard Brooksby
406e5f26c5
Skip design index when converting design documents. the manual has its own index.
...
Copied from Perforce
Change: 182618
ServerID: perforce.ravenbrook.com
2013-06-08 12:42:36 +01:00
Richard Brooksby
9e8f8eb1b4
Removing amcssth from the list of automatically run tests, since we have no plans to fix it at present.
...
Copied from Perforce
Change: 182616
ServerID: perforce.ravenbrook.com
2013-06-08 11:18:22 +01:00
Richard Brooksby
ac1e57c0ac
Merging branch/2013-05-17/emergency with major rework of mvt, mvff, and cbs.
...
Some parts of this are still ragged, and would not normally pass review, but this is a massive improvement to the existing code.
Copied from Perforce
Change: 182614
ServerID: perforce.ravenbrook.com
2013-06-08 10:57:57 +01:00
Gareth Rees
a16f5b3f6c
Test cbs and freelist with different alignments.
...
Maintain test state in a structure to avoid having to pass it all around as function arguments.
Copied from Perforce
Change: 182611
ServerID: perforce.ravenbrook.com
2013-06-07 19:36:42 +01:00
Gareth Rees
ccbf5341e8
Mvtfinish must make the structure invalid first.
...
Add comment explaining choice of GCSegClass.
Copied from Perforce
Change: 182608
ServerID: perforce.ravenbrook.com
2013-06-07 15:39:07 +01:00
Gareth Rees
4753e1ba3a
Improve design docs following review from rb.
...
Copied from Perforce
Change: 182606
ServerID: perforce.ravenbrook.com
2013-06-07 14:50:22 +01:00
Gareth Rees
ddf49ff7e9
Mvt takes configurable alignment via a keyword argument.
...
Copied from Perforce
Change: 182605
ServerID: perforce.ravenbrook.com
2013-06-07 14:45:14 +01:00
Gareth Rees
c44b1e0e31
Check that all addresses in the freed range belong to the pool, not just the base of the range.
...
Copied from Perforce
Change: 182602
ServerID: perforce.ravenbrook.com
2013-06-07 13:20:20 +01:00
Gareth Rees
08f28c589a
Fix function description.
...
Copied from Perforce
Change: 182601
ServerID: perforce.ravenbrook.com
2013-06-07 13:17:21 +01:00
Richard Brooksby
d3ed8960fb
Reducing the size of the mps logo to avoid pushing the contents links down too far.
...
Copied from Perforce
Change: 182593
ServerID: perforce.ravenbrook.com
2013-06-06 21:16:42 +01:00
Richard Brooksby
470192fa63
Overriding some of the sphinx default styles to reduce the ragged-left effect of too many indents.
...
Spacing out lists to reduce wall-o-text feeling.
Reducing the number of rules, and giving them a bit of breathing space.
Copied from Perforce
Change: 182590
ServerID: perforce.ravenbrook.com
2013-06-06 20:58:37 +01:00
Richard Brooksby
0c685f5dd5
Using "ubuntu mono" as monospaced font for the manual, because it is a lot narrower and gives better formatting, even though it's not beautiful.
...
Corrected "monospaced" to "monospace" as fallback, otherwise it doesn't work.
Copied from Perforce
Change: 182588
ServerID: perforce.ravenbrook.com
2013-06-06 20:13:53 +01:00
Gareth Rees
bcb3aeacde
Oops, forgot fl argument to freelistblocklimit.
...
Copied from Perforce
Change: 182586
ServerID: perforce.ravenbrook.com
2013-06-06 15:58:02 +01:00
Gareth Rees
f651dbdc27
Extra-careful check after setting the limit.
...
Copied from Perforce
Change: 182585
ServerID: perforce.ravenbrook.com
2013-06-06 15:51:41 +01:00
Gareth Rees
fe60d16407
Represent a block on the free list as a freelistblock rather than an addr (for better type safety). add many checks.
...
Copied from Perforce
Change: 182584
ServerID: perforce.ravenbrook.com
2013-06-06 15:47:37 +01:00
Richard Brooksby
bb81f593cc
Additional merges accidentally left out of changelist 182578. oops.
...
Copied from Perforce
Change: 182580
ServerID: perforce.ravenbrook.com
2013-06-06 15:11:45 +01:00
Richard Brooksby
bafc15444a
Merging branch/2013-05-21/final-destroy. now we can finally destroy things.
...
Copied from Perforce
Change: 182578
ServerID: perforce.ravenbrook.com
2013-06-06 15:04:30 +01:00
Richard Brooksby
5926e279f3
Merging branch/2013-06-05/diag to eliminate the "diag" system. hurrah!
...
Copied from Perforce
Change: 182575
ServerID: perforce.ravenbrook.com
2013-06-06 14:56:47 +01:00
Gareth Rees
81e1ea0da2
Fix build on linux.
...
Copied from Perforce
Change: 182574
ServerID: perforce.ravenbrook.com
2013-06-06 14:21:39 +01:00
Gareth Rees
ef933fde2f
Remove diag.c from xcode project.
...
Copied from Perforce
Change: 182572
ServerID: perforce.ravenbrook.com
2013-06-06 13:58:01 +01:00
Gareth Rees
5d10a62ae9
Remove mentions of diagnostic feedback from the design documents and the code; add mentions of corresponding events.
...
Copied from Perforce
Change: 182570
ServerID: perforce.ravenbrook.com
2013-06-06 13:47:33 +01:00