Gareth Rees
a6fb99af5b
Update the supported target platforms in the user guide.
2021-09-04 09:43:27 +01:00
Gareth Rees
7bbeed7e56
Update the debugging examples in the user guide.
...
Since these examples were written, the Scheme source code has changed,
and MPS backtraces have changed.
2020-08-30 10:01:06 +01:00
Gareth Rees
c550ce10a0
Use sphinx roles for c code in the user guide.
2020-08-30 09:53:21 +01:00
Gareth Rees
375dd7ed62
Merge branch 'branch/2020-08-25/gdb-handle'
2020-08-30 09:29:03 +01:00
Peter Jackson
c363af9a7a
Merge remaining changes from earlier licence branch.
...
Copied from Perforce
Change: 197111
2020-08-28 18:05:26 +01:00
Gareth Rees
d18e98e0e3
Document how to avoid stopping in gdb for thread-handling signals.
2020-08-25 11:42:52 +01:00
Gareth Rees
228c8a2a4c
Add note about skipping the staleness check for sets.
...
Copied from Perforce
Change: 195953
2019-01-29 15:42:11 +00:00
Gareth Rees
d245671303
Update urls (mostly http -> https).
...
Copied from Perforce
Change: 195858
2018-12-10 13:07:41 +00:00
Gareth Rees
f77fab6ed4
Small manual improvements.
...
Copied from Perforce
Change: 195243
2018-10-13 20:22:30 +01:00
Gareth Rees
c320c86231
Use initonceexecuteonce to get thread-safe initialization of the global locks.
...
This means that the MPS no longer supports Windows XP, so update documentation accordingly.
Exercise the global locks in lockut.
Copied from Perforce
Change: 194253
2018-06-28 12:39:06 +01:00
Gareth Rees
1ad6c163c0
Cross-reference from release notes to supported platforms.
...
Copied from Perforce
Change: 193827
2018-06-15 12:42:49 +01:00
Gareth Rees
307bc47730
Rename "mac os x" and "os x" to "macos", except for a few cases where for historical accuracy we want to continue to refer to the former name.
...
Copied from Perforce
Change: 193821
2018-06-15 12:15:36 +01:00
Gareth Rees
ff8c75b0ec
Fix typo in user guide: "stack_root" not "reg_root".
...
Copied from Perforce
Change: 193741
2018-06-13 15:42:23 +01:00
Gareth Rees
36955b7bcb
Platforms fri3ll and fri6ll are supported, so add them to overview.
...
Copied from Perforce
Change: 193383
ServerID: perforce.ravenbrook.com
2017-11-03 14:34:20 +00:00
Gareth Rees
7c062cf7e9
Improve description of postmortem state in the manual.
...
Copied from Perforce
Change: 192257
ServerID: perforce.ravenbrook.com
2016-09-09 11:10:03 +01:00
Gareth Rees
d8c32f0d3f
New functions mps_arena_busy and mps_arena_postmortem, plus test coverage.
...
Copied from Perforce
Change: 192247
ServerID: perforce.ravenbrook.com
2016-09-08 13:55:43 +01:00
Gareth Rees
8523b6f666
Remove support for linux 2.4 and 2.5 (these versions used linuxthreads). linux is now supported from version 2.6 onwards (these versions use posix threads).
...
Copied from Perforce
Change: 192240
ServerID: perforce.ravenbrook.com
2016-09-08 11:36:02 +01:00
Gareth Rees
7473718e0a
Catch-up merge from master sources to branch/2016-04-13/mortality.
...
Copied from Perforce
Change: 192192
ServerID: perforce.ravenbrook.com
2016-09-05 16:17:04 +01:00
Gareth Rees
8dd574301c
Fix typos and other problems with the manual.
...
Copied from Perforce
Change: 192091
ServerID: perforce.ravenbrook.com
2016-09-02 13:25:11 +01:00
Gareth Rees
3174eba71e
Maintain a moving average of the mortality of each generation.
...
Copied from Perforce
Change: 191081
ServerID: perforce.ravenbrook.com
2016-04-13 15:19:50 +01:00
Gareth Rees
1a1c2a2a27
Avoid warnings from sphinx 1.3.5.
...
Copied from Perforce
Change: 189686
ServerID: perforce.ravenbrook.com
2016-03-06 19:27:48 +00:00
Richard Brooksby
4487895475
Detabifying code and restructuredtext files.
...
Copied from Perforce
Change: 189309
ServerID: perforce.ravenbrook.com
2016-02-18 19:58:13 +00:00
Richard Brooksby
7464a68949
Documenting thread root registration functions.
...
Copied from Perforce
Change: 189207
ServerID: perforce.ravenbrook.com
2016-02-16 00:34:10 +00:00
Richard Brooksby
aff58a3f60
Catch up merge from master sources.
...
Copied from Perforce
Change: 189130
ServerID: perforce.ravenbrook.com
2016-02-10 21:10:25 +00:00
Richard Brooksby
1ac6033058
Catch-up merge from masters.
...
Copied from Perforce
Change: 188928
ServerID: perforce.ravenbrook.com
2016-01-20 11:04:09 +00:00
Gareth Rees
68edb16949
Need to pass sizeof(mps_word_t) - 1 for the mask argument to get the old behaviour.
...
Copied from Perforce
Change: 188317
ServerID: perforce.ravenbrook.com
2015-09-14 21:17:19 +01:00
Gareth Rees
08873c6c3a
Rename mps_root_create_reg_masked to mps_root_create_stack, and deprecate mps_root_create_reg, as suggested in review by nb < https://info.ravenbrook.com/mail/2015/09/09/16-18-10/0/ >.
...
Copied from Perforce
Change: 188312
ServerID: perforce.ravenbrook.com
2015-09-14 20:16:14 +01:00
Gareth Rees
86a933a581
Emphasize the right line in the finalization example.
...
Copied from Perforce
Change: 187466
ServerID: perforce.ravenbrook.com
2014-11-06 11:01:11 +00:00
Gareth Rees
cb3f6ce768
Minor documentation improvements.
...
Copied from Perforce
Change: 187407
ServerID: perforce.ravenbrook.com
2014-10-26 12:44:58 +00:00
Gareth Rees
ce7dc08514
Add a section to the guide explaining how to implement malloc and free.
...
Copied from Perforce
Change: 187399
ServerID: perforce.ravenbrook.com
2014-10-25 22:31:07 +01:00
Gareth Rees
e7220f2ad7
Fix rest syntax.
...
Copied from Perforce
Change: 187286
ServerID: perforce.ravenbrook.com
2014-10-19 09:39:41 +01:00
Gareth Rees
a5806a0623
Don't call mps_definalize in the example scheme interpreter: it's not actually an optimization because of the inefficient implementation.
...
Copied from Perforce
Change: 187123
ServerID: perforce.ravenbrook.com
2014-10-02 13:49:28 +01:00
Gareth Rees
bd03fb5a46
Remove unused argument 'buckets' from scheme table_find. (this broke the xcode build on os x.)
...
Copied from Perforce
Change: 187116
ServerID: perforce.ravenbrook.com
2014-10-02 11:42:33 +01:00
Gareth Rees
7ede9ffdb7
Arenafinalize now asserts that the object belongs to a finalizable (attrgc) pool. (it's a programming error to try to register a non-finalizable object for finalization.)
...
Can't test this behaviour via the smoke tests, unfortunately.
Document the performance problem with mps_definalize, so that users aren't tempted into using it inappropriately.
Copied from Perforce
Change: 187109
ServerID: perforce.ravenbrook.com
2014-10-02 10:27:57 +01:00
Gareth Rees
466081d0f2
Must test a key for staleness with respect to a location dependency before setting it (not just before looking it up or deleting it).
...
Copied from Perforce
Change: 187079
ServerID: perforce.ravenbrook.com
2014-09-28 23:32:37 +01:00
Gareth Rees
a26ef830b7
Synchronize the readme and the overview in the guide.
...
Copied from Perforce
Change: 187052
ServerID: perforce.ravenbrook.com
2014-09-26 20:38:41 +01:00
Gareth Rees
4750cb6790
Microsoft has issued a hotfix for the wow64 bug; explain this in the overview.
...
Supported platform now described as "Linux 2.4 or later" rather than "Linux (some distros known good)".
Copied from Perforce
Change: 187044
ServerID: perforce.ravenbrook.com
2014-09-26 13:07:49 +01:00
Gareth Rees
e9dddf19de
New chapter of the guide discusses the "stretchy vector" problem.
...
Copied from Perforce
Change: 186305
ServerID: perforce.ravenbrook.com
2014-05-26 12:39:38 +01:00
Gareth Rees
cc43fd2a1c
Add aslr test program to the repository.
...
Explain how to disable ASLR for a single process on Linux (better than disabling it for the whole system).
Organize the ASLR documentation more clearly.
Copied from Perforce
Change: 186236
ServerID: perforce.ravenbrook.com
2014-05-21 16:08:15 +01:00
Gareth Rees
85bb536fa5
Glossary entry and guide to address space layout randomization.
...
Copied from Perforce
Change: 186234
ServerID: perforce.ravenbrook.com
2014-05-21 14:47:11 +01:00
Gareth Rees
b0f1837ea9
Cross-reference from debugging chapter of the guide to "common assertions and their causes".
...
Copied from Perforce
Change: 186232
ServerID: perforce.ravenbrook.com
2014-05-21 12:20:40 +01:00
Gareth Rees
62eafbbb47
Add note about consequences of running frequent collections.
...
Copied from Perforce
Change: 186134
ServerID: perforce.ravenbrook.com
2014-05-16 12:31:47 +01:00
Gareth Rees
8146121134
Strength the tear-down advice: you "should" park the arena (not just "good practice").
...
Copied from Perforce
Change: 186066
ServerID: perforce.ravenbrook.com
2014-05-13 10:57:35 +01:00
Gareth Rees
e58b421e1b
Fix typo: the general root scanning function type is mps_root_scan_t, not mps_reg_scan_t.
...
Copied from Perforce
Change: 186065
ServerID: perforce.ravenbrook.com
2014-05-13 10:48:51 +01:00
Gareth Rees
71d9ea47b8
Explain how to call mps_root_create_table() safely (avoiding type punning). fix example for mps_root_create_table_masked(). use the recommended approach in qs.c.
...
Copied from Perforce
Change: 185223
ServerID: perforce.ravenbrook.com
2014-04-04 11:49:19 +01:00
Gareth Rees
32d10cd02a
Make mps_args_done obsolete.
...
Copied from Perforce
Change: 184543
ServerID: perforce.ravenbrook.com
2014-02-26 12:47:27 +00:00
Gareth Rees
d2220c5c16
Better user documentation for generation chains:
...
* In the pool class properties table, note whether a pool class uses generational garbage collection.
* The arena has a default generation chain.
* The MPS_KEY_CHAIN keyword argument is now optional when creating an AMC, AMCZ or AMS pool.
* The pool classes AWL and LO now take an optional MPS_KEY_CHAIN keyword argument.
* The pool classes AMS, AWL and LO now take an optional MPS_KEY_GEN keyword argument specifying the generation for new objects.
* Remove material about generation chains from the user guide (just use the arena's default generation chain).
Copied from Perforce
Change: 184273
ServerID: perforce.ravenbrook.com
2014-01-31 16:23:04 +00:00
Gareth Rees
b264bc1b5c
Fix typo.
...
Copied from Perforce
Change: 183987
ServerID: perforce.ravenbrook.com
2014-01-14 10:44:17 +00:00
Gareth Rees
b5eac5fb83
Use #. for numbered lists instead of 1. 2. 3. to make these documents easier to edit.
...
Copied from Perforce
Change: 183913
ServerID: perforce.ravenbrook.com
2014-01-10 09:58:44 +00:00
Gareth Rees
f9257638d8
Make it clear that the forwarding object must be the same size as the object it replaces.
...
Copied from Perforce
Change: 183602
ServerID: perforce.ravenbrook.com
2013-10-29 12:45:20 +00:00