Gareth Rees
56e56e4ff4
Catch-up merge from branch/2015-08-10/arena-create to branch/2015-08-06/config.
...
Copied from Perforce
Change: 188104
ServerID: perforce.ravenbrook.com
2015-08-10 12:49:36 +01:00
Gareth Rees
7a324aa430
Start review checklist.
...
Copied from Perforce
Change: 188101
ServerID: perforce.ravenbrook.com
2015-08-10 12:15:05 +01:00
Gareth Rees
a834298be6
Tear down arena correctly if controlinit fails.
...
Copied from Perforce
Change: 188100
ServerID: perforce.ravenbrook.com
2015-08-10 11:43:17 +01:00
Gareth Rees
c966e6c33e
Correct the test for too-small client arena sizes.
...
Add automated test case for client arenas with small sizes.
Copied from Perforce
Change: 188099
ServerID: perforce.ravenbrook.com
2015-08-10 11:41:58 +01:00
Gareth Rees
742e171c6b
Branching master to branch/2015-08-10/arena-create.
...
Copied from Perforce
Change: 188096
ServerID: perforce.ravenbrook.com
2015-08-10 10:57:39 +01:00
Gareth Rees
84347b9bbe
Merge branch/2014-09-29/reserved into the master sources.
...
Copied from Perforce
Change: 188090
ServerID: perforce.ravenbrook.com
2015-08-07 16:33:43 +01:00
Gareth Rees
9863533bfc
The primary chunk is always the last chunk to be removed, so assert that. review suggestion from rb; see < https://info.ravenbrook.com/mail/2015/08/07/13-56-51/0/ >
...
Copied from Perforce
Change: 188089
ServerID: perforce.ravenbrook.com
2015-08-07 16:14:50 +01:00
Gareth Rees
098b4da32d
New function mps_arena_configure provides keyword argument interface to changing the properties of an arena.
...
New keyword arguments MPS_KEY_ARENA_COMMIT_LIMIT and MPS_KEY_SPARE_ARENA_COMMIT_LIMIT can be passed to mps_arena_create_k or mps_arena_configure.
Deprecate mps_arena_commit_limit_set and mps_arena_spare_commit_limit_set.
Copied from Perforce
Change: 188085
ServerID: perforce.ravenbrook.com
2015-08-06 17:02:51 +01:00
Gareth Rees
30ab6946da
Branching master to branch/2015-08-06/config.
...
Copied from Perforce
Change: 188083
ServerID: perforce.ravenbrook.com
2015-08-06 13:55:07 +01:00
Richard Brooksby
a555f2d348
Clarifying situations in which arenaaccess might find the barrier already down. see < https://info.ravenbrook.com/mail/2015/07/14/15-08-55/0/ >.
...
Copied from Perforce
Change: 188033
ServerID: perforce.ravenbrook.com
2015-07-14 17:18:00 +01:00
Gareth Rees
413a36fbcf
Fix comment (function is named vmarenamap, not vmarenamap).
...
Copied from Perforce
Change: 187965
ServerID: perforce.ravenbrook.com
2015-06-19 12:01:01 +01:00
Gareth Rees
ba370c09f4
Tweak order of operations so that stack temporary doesn't keep many objects alive.
...
Copied from Perforce
Change: 187953
ServerID: perforce.ravenbrook.com
2015-06-16 10:44:09 +01:00
Gareth Rees
e8d4e418aa
Testsets/conerr now passes.
...
Copied from Perforce
Change: 187950
ServerID: perforce.ravenbrook.com
2015-06-15 22:59:14 +01:00
Gareth Rees
0fa81a0154
Argerr testset now passes.
...
Copied from Perforce
Change: 187948
ServerID: perforce.ravenbrook.com
2015-06-15 22:21:52 +01:00
Gareth Rees
7aa39ee1b7
The table of references passed to mps_root_create_table must be word-aligned.
...
Explain why mps_root_create_fmt doesn't check the alignment of base and limit.
Copied from Perforce
Change: 187947
ServerID: perforce.ravenbrook.com
2015-06-15 22:12:42 +01:00
Gareth Rees
b964293c36
The stack pointer passed to mps_root_create_reg must be word-aligned.
...
Copied from Perforce
Change: 187946
ServerID: perforce.ravenbrook.com
2015-06-15 22:11:48 +01:00
Gareth Rees
7cc3d6c9db
Explain why ldadd and ldisstale don't check that the address belongs to the arena, and don't check the alignment of the address.
...
Copied from Perforce
Change: 187945
ServerID: perforce.ravenbrook.com
2015-06-15 22:10:19 +01:00
Gareth Rees
79f234b217
Arguments to the varargs function mps_pool_create must be cast, otherwise the default c promotion rules will result in a constant value lke 64 being protomoted to int (4 bytes) but decoded (wrongly) as size_t (8 bytes).
...
Copied from Perforce
Change: 187943
ServerID: perforce.ravenbrook.com
2015-06-15 19:34:45 +01:00
Gareth Rees
e269e9c283
100 pools are not enough to exceed the commit limit; try 1000 instead.
...
Copied from Perforce
Change: 187941
ServerID: perforce.ravenbrook.com
2015-06-15 18:26:36 +01:00
Gareth Rees
9c79d09d0c
If mvinit fails, ensure that its block pool is finished.
...
Copied from Perforce
Change: 187940
ServerID: perforce.ravenbrook.com
2015-06-15 18:11:32 +01:00
Gareth Rees
8e721094a4
Use testrun -s suite when running from xcode.
...
Copied from Perforce
Change: 187938
ServerID: perforce.ravenbrook.com
2015-06-15 17:20:27 +01:00
Gareth Rees
76c278c99b
Use chomp instead of chop for lines read in from file handles: the last line read from a file does not necessarily have a newline.
...
Copied from Perforce
Change: 187937
ServerID: perforce.ravenbrook.com
2015-06-15 17:20:04 +01:00
Gareth Rees
8a37214504
Change file type to ktext so that qa reports the correct test name.
...
Copied from Perforce
Change: 187936
ServerID: perforce.ravenbrook.com
2015-06-15 17:05:39 +01:00
Gareth Rees
d5a3d460b7
Remove claim "[coming soon, microsoft visual studio solutions.]" this text was originally written in change 179271 on 2012-09-05: it has never been true and is not true now.
...
Copied from Perforce
Change: 187926
ServerID: perforce.ravenbrook.com
2015-06-10 14:02:07 +01:00
Gareth Rees
c3757ccf20
Remove bogus download and fixed issues links.
...
Copied from Perforce
Change: 187924
ServerID: perforce.ravenbrook.com
2015-06-10 13:50:46 +01:00
Gareth Rees
6ed1c12296
Fix rotate left and rotate right diagrams: the order of nodes must be preserved by the rotation.
...
Copied from Perforce
Change: 187893
ServerID: perforce.ravenbrook.com
2015-05-26 19:57:17 +01:00
Gareth Rees
7ff6169818
Fix cross-references.
...
Copied from Perforce
Change: 187791
ServerID: perforce.ravenbrook.com
2015-03-19 10:59:38 +00:00
Gareth Rees
aba1b6befd
Todo was done: replace it with cross-reference to design.
...
Copied from Perforce
Change: 187788
ServerID: perforce.ravenbrook.com
2015-03-18 20:54:28 +00:00
Gareth Rees
04b5c3db4e
Todo was done: replace it with cross-reference to design.
...
Copied from Perforce
Change: 187787
ServerID: perforce.ravenbrook.com
2015-03-18 20:49:59 +00:00
Gareth Rees
3013642794
Wording improvements.
...
Copied from Perforce
Change: 187733
ServerID: perforce.ravenbrook.com
2015-02-16 21:37:44 +00:00
Gareth Rees
39a21cb72d
Add design.mps.exec-env from //info.ravenbrook.com/project/mps/import/2001-09-27/mminfo/doc/design/mps/exec-env/index.txt and bring it up to date; move design.mps.writef from old to current.
...
Copied from Perforce
Change: 187693
ServerID: perforce.ravenbrook.com
2015-02-06 16:50:04 +00:00
Gareth Rees
4d037fafcf
Keep glossary index up to date.
...
Copied from Perforce
Change: 187682
ServerID: perforce.ravenbrook.com
2015-02-06 09:50:24 +00:00
Gareth Rees
c67d5b0fdc
Add glossary entry for "bitmap marking".
...
Copied from Perforce
Change: 187681
ServerID: perforce.ravenbrook.com
2015-02-06 09:50:00 +00:00
Gareth Rees
22769d3828
Add omitted word.
...
Copied from Perforce
Change: 187673
ServerID: perforce.ravenbrook.com
2015-02-05 10:49:20 +00:00
Gareth Rees
4fed91c249
Explain constraints on assertion handlers.
...
Copied from Perforce
Change: 187660
ServerID: perforce.ravenbrook.com
2015-02-04 09:50:39 +00:00
Gareth Rees
acd89ab578
Merge commpre.nmk and commpost.nmk into comm.nmk.
...
Copied from Perforce
Change: 187528
ServerID: perforce.ravenbrook.com
2014-11-29 16:43:45 +00:00
Gareth Rees
60fc29f4b5
Testrun.sh now takes the suite via the -s option. this means that you can run a single test case.
...
testrun.sh now takes a "runner" via the -r option. You can pass something like "noaslr" to run all the test cases with ASLR turned off.
Copied from Perforce
Change: 187496
ServerID: perforce.ravenbrook.com
2014-11-08 10:05:05 +00:00
Gareth Rees
f1030073d4
Count the number of calls to make, for help with setting watchpoints.
...
Copied from Perforce
Change: 187491
ServerID: perforce.ravenbrook.com
2014-11-07 14:52:26 +00:00
Gareth Rees
e2d03a9b0e
Vmarenagrow now passes on the result code from vmchunkcreate, instead of substituting resresource under the circumstances described in job003899.
...
Copied from Perforce
Change: 187489
ServerID: perforce.ravenbrook.com
2014-11-07 14:04:35 +00:00
Gareth Rees
052f53e367
Use gc_start messages to count collections.
...
Copied from Perforce
Change: 187487
ServerID: perforce.ravenbrook.com
2014-11-07 13:20:49 +00:00
Gareth Rees
3ec4eef485
Use gc_start messages to robustly determine whether a collection started (rather than the unreliable mps_collections).
...
Copied from Perforce
Change: 187485
ServerID: perforce.ravenbrook.com
2014-11-07 10:41:51 +00:00
Gareth Rees
7ad50248c5
All references have ranks, not just roots.
...
Copied from Perforce
Change: 187484
ServerID: perforce.ravenbrook.com
2014-11-07 10:34:22 +00:00
Gareth Rees
a41dcd881c
Release notes for release 1.110.0.
...
Copied from Perforce
Change: 187482
ServerID: perforce.ravenbrook.com
2014-11-07 09:41:38 +00:00
Gareth Rees
e10e3b50b1
Documentation corrections and improvements.
...
Copied from Perforce
Change: 187479
ServerID: perforce.ravenbrook.com
2014-11-06 22:54:40 +00:00
Gareth Rees
cec58c65e8
Explain how to run the smoke tests on windows.
...
Copied from Perforce
Change: 187475
ServerID: perforce.ravenbrook.com
2014-11-06 15:31:52 +00:00
Gareth Rees
c96e8f0325
Remove redundant pfmdefs from windows makefiles.
...
Explain how to write a Windows makefile when porting the MPS.
Copied from Perforce
Change: 187473
ServerID: perforce.ravenbrook.com
2014-11-06 15:28:40 +00:00
Gareth Rees
6907a9287c
Deprecate mps_mv_free_size, mps_mv_size, mps_mvff_free_size, mps_mvff_size, mps_mvt_free_size and mps_mvt_size.
...
Move most of the deprecated material to a new chapter of the manual (to avoid clutter and confusion) and ensure that each deprecated symbol has a recommendation for what to do instead.
Copied from Perforce
Change: 187471
ServerID: perforce.ravenbrook.com
2014-11-06 14:56:15 +00:00
Gareth Rees
497aaf7141
The "remember" parameters to arenaexposeremember is a boolean, not an integer.
...
Copied from Perforce
Change: 187467
ServerID: perforce.ravenbrook.com
2014-11-06 12:03:18 +00:00
Gareth Rees
2dc79898eb
Check that sparsearraymap makes some (or no) progress.
...
Copied from Perforce
Change: 187465
ServerID: perforce.ravenbrook.com
2014-11-06 10:56:45 +00:00
Gareth Rees
e2e51376f9
Assert that sparsearrayunmap made some (or no) progress.
...
Copied from Perforce
Change: 187464
ServerID: perforce.ravenbrook.com
2014-11-06 10:51:18 +00:00