Gareth Rees
0c4ac0edb2
Avoid "unknown target name" warning when building the manual.
2020-08-23 15:47:50 +01:00
Gareth Rees
3724c40993
Avoid creating an untracked file when making the manual.
2020-08-23 15:46:47 +01:00
Gareth Rees
adde3b3c09
Avoid warning from sphinx 2.2.1 about versionlabels.
...
This object is now available as sphinx.domains.changeset.versionlabels
and the old name sphinx.locale.versionlabels will be removed in Sphinx
3.0.
2020-08-23 15:45:38 +01:00
Gareth Rees
d4047bcd67
Fix build of manual with sphinx 2.2.1.
...
This version of Sphinx no longer has an info() method on the Sphinx
class, so we need to create a logger instance using sphinx.util.logging.
2020-08-23 15:44:09 +01:00
Peter Jackson
4de2606846
Publish licence updates in code directory.
...
Publish minor changes to readme and configure files in main directory.
Main directory and code directory licence texts are now fully updated.
Copied from Perforce
Change: 196994
2020-06-11 17:05:40 +01:00
Nick Barnes
c93d14657d
Merge branch 'master' of github.com:ravenbrook/mps
2020-06-07 17:54:55 +01:00
Peter Jackson
fd51dcdca2
Conversion to bsd 2-clause licence. key changes in the master root files.
...
Copied from Perforce
Change: 196950
2020-05-29 12:21:20 +01:00
Richard Brooksby
017cde6f50
Relicensing the mps under the 2-clause bsd license.
2020-04-30 22:09:14 +00:00
Gareth Rees
ee6ddafcbd
Avoid warning from gcc 5.4.0.
...
Copied from Perforce
Change: 196419
2019-10-10 15:18:03 +01:00
Gareth Rees
848e086d9a
Update configure.
...
Copied from Perforce
Change: 196418
2019-10-10 15:05:13 +01:00
Gareth Rees
cfb5647bd5
Oops, -wno-invalid-offsetof is clang-only.
...
Copied from Perforce
Change: 196417
2019-10-10 15:04:50 +01:00
Gareth Rees
84b26d639e
The makefile rule for building a generic target no longer depends on the content of extra_targets, since this is designed to be configurable.
...
Copied from Perforce
Change: 196414
2019-10-10 14:37:38 +01:00
Gareth Rees
44f5efed6a
Fix compilation of scheme example on clang 11.
...
Copied from Perforce
Change: 196411
2019-10-10 14:13:19 +01:00
Gareth Rees
d3f03bc872
Change en-dashes to hyphens.
...
Copied from Perforce
Change: 196408
2019-10-10 13:19:40 +01:00
Gareth Rees
ab094c9a68
Opposite terms go at the end of the glossary entry, not the beginning.
...
Copied from Perforce
Change: 196207
2019-06-10 17:05:21 +01:00
Gareth Rees
c83b1a0323
Avoid an "extended" (non-standards-conforming) call to offsetof.
...
Copied from Perforce
Change: 196195
2019-06-05 16:31:13 +01:00
Gareth Rees
94b2f5a36e
Remove -wno-extended-offsetof flag, no longer needed and not compatible with all the versions of clang that we need to support.
...
Copied from Perforce
Change: 196189
2019-06-05 14:33:43 +01:00
Gareth Rees
00b7596287
Revert change 196178, submitted on wrong branch.
...
Copied from Perforce
Change: 196185
2019-06-05 10:36:50 +01:00
Gareth Rees
6f34daf790
Call mps_arena_create_k, not mps_arena_create.
...
Copied from Perforce
Change: 196181
2019-06-04 15:40:38 +01:00
Gareth Rees
6e116da468
Restore assembly code (removed in change 194595) for spilling callee-save registers on fr and li platforms.
...
Copied from Perforce
Change: 196178
2019-06-04 14:09:05 +01:00
Gareth Rees
e410c28276
Change the type of writeff to avoid compiler warnings from gcc 8.
...
Copied from Perforce
Change: 196063
2019-03-14 15:17:47 +00:00
Gareth Rees
9b201f56c3
Simulate just one allocation failure each time.
...
Copied from Perforce
Change: 195983
2019-02-07 11:57:16 +00:00
Gareth Rees
7f6f4c323b
Add a flag to fotest.c so that oomalloc knows when to return error codes, avoiding confusion between the test's pool and the mps's own pool.
...
Copied from Perforce
Change: 195974
2019-02-07 10:21:32 +00: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
8d5068b5ab
Avoid using deprecated function mps_tramp.
...
Use mps_root_create_thread in preference to mps_root_create_reg.
New test harness run_test passes pointer to cold end of stack, since this is needed by many tests.
Copied from Perforce
Change: 195917
2019-01-09 16:17:17 +00:00
Gareth Rees
c68dfd2ac4
Use keyword argument interface to avoid underpromotion of arguments.
...
Copied from Perforce
Change: 195911
2019-01-08 14:43:41 +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
4eda4e85c7
Use tags with dots; regularize design references from code.
...
Copied from Perforce
Change: 195761
2018-11-29 17:12:29 +00:00
Gareth Rees
5faa229dd0
Change http to https for links to {info,www}.ravenbrook.com.
...
Copied from Perforce
Change: 195719
2018-11-22 12:34:46 +00:00
Richard Brooksby
bf37e11ba9
Improving clarity with some hyphens.
...
Copied from Perforce
Change: 195688
2018-11-19 21:12:15 +00:00
Richard Brooksby
89aae0a96e
Fixing copy-paste error in comment.
...
Copied from Perforce
Change: 195683
2018-11-19 20:56:45 +00:00
Gareth Rees
bbb689010f
Fix typoe: "continguous" for "contiguous".
...
Copied from Perforce
Change: 195587
2018-11-11 13:54:47 +00:00
Gareth Rees
5d96799ae1
No need for :format:rst here, because the emacs -*- mode -*- cookie is sufficient.
...
Copied from Perforce
Change: 195584
2018-11-09 14:56:57 +00:00
Gareth Rees
86106b4739
Integrate changes made in the generic version of this code.
...
Copied from Perforce
Change: 195500
2018-11-04 11:40:35 +00:00
Gareth Rees
20fe9f5d82
Add link for monitor in design index.
...
Copied from Perforce
Change: 195292
2018-10-18 12:34:45 +01:00
Alistair Turnbull
520a1c9ef6
To guarantee at least one failure while maintaining test coverage, use oomalloc on the
...
first loop iteration and with 50% probability thereafter.
Copied from Perforce
Change: 195278
2018-10-17 17:12:14 +01:00
Alistair Turnbull
6361d8d0ae
Implement review suggestions:
...
- https://info.ravenbrook.com/mail/2018/10/09/07-29-18/0/
- https://info.ravenbrook.com/mail/2018/10/09/12-04-39/0/
Fix the code for shuffling an array.
Ensure that oomAlloc is always used at least once.
TODO: Find a principled way of computing `testSetSIZE`.
Copied from Perforce
Change: 195272
2018-10-16 18:03:45 +01:00
Gareth Rees
1ec8c4a141
Improve handling of telemetry events on the critical path:
...
1. Being on the critical path is a property of the code location where the event is emitted, not of the event type, so indicate this using EVENT_CRITICAL macros rather than a field in the event table.
2. Compile out events on the critical path in hot varieties.
3. Remove TraceFixWhite event (redundant with TraceFixSeg).
4. No need for special handling of PoolFree event -- this are already skipped in hot varieties by dispatching directly to the pool class via PoolFreeMacro.
Copied from Perforce
Change: 195261
2018-10-15 14:22:16 +01:00
Gareth Rees
50f25c43ae
Fix mpseventsql, broken by change 195250.
...
Copied from Perforce
Change: 195258
2018-10-15 11:55:51 +01:00
Gareth Rees
c024758d0a
Convenience target for building mpseventsql.
...
Copied from Perforce
Change: 195251
2018-10-14 14:59:15 +01:00
Gareth Rees
4a789a4b0d
Update mpseventsql to handle event parameter documentation.
...
Copied from Perforce
Change: 195250
2018-10-14 14:59:01 +01:00
Gareth Rees
cbf9885146
Document the event parameters.
...
Split event ArenaAccess into ArenaAccessBegin and ArenaAccessEnd to avoid the need for the count field.
New events SegReclaim and SegScan.
Delete some redundant events: AMCFinish (PoolFinish), AMCFix, AMCFixForward, AMCFixInPlace (TraceFix), AMCGenCreate (GenInit), AMCGenDestroy (GenFinish), AMCInit (PoolInitAMC), AMCReclaim (SegReclaim), AMCScanBegin, AMCScanEnd (SegScan), ArenaWriteFaults (ArenaAccessBegin), PoolInitMV, TraceScanSeg (SegScan).
Add result code field to events ArenaAllocFail, CommitLimitSet, SegAllocFail.
Remove arena field from events PoolInitAMS, PoolInitMFS, PoolInitMVFF (already appeared in generic PoolInit event).
Copied from Perforce
Change: 195247
2018-10-14 14:04:40 +01:00
Gareth Rees
f77fab6ed4
Small manual improvements.
...
Copied from Perforce
Change: 195243
2018-10-13 20:22:30 +01:00
Gareth Rees
3b1fa4210d
Revert incorrect change 195099 (topic directive is in fact used).
...
Copied from Perforce
Change: 195242
2018-10-13 20:22:12 +01:00
Gareth Rees
803703fb74
Merge branch/2018-06-20/monitor into the master sources.
...
Copied from Perforce
Change: 195235
2018-10-13 12:22:24 +01:00
Gareth Rees
77506b67e7
There's no point keeping the definitions of old events, especially since we have changed the event format. name events consistently with initial capital letters and put them in alphabetical order.
...
Copied from Perforce
Change: 195231
2018-10-12 13:01:12 +01:00
Gareth Rees
882d86bac1
Remove call to pause_end from tracedestroy; see < https://info.ravenbrook.com/mail/2018/10/12/10-20-07/0/ >
...
The MPS passes the number of system pools to the monitor via the ArenaCreate events, to avoid the monitor having to know how many this is.
Copied from Perforce
Change: 195227
2018-10-12 12:35:55 +01:00
Alistair Turnbull
c6314435bb
Remove job4014 machinery, which is no longer needed.
...
Copied from Perforce
Change: 195211
2018-10-08 17:25:22 +01:00
Alistair Turnbull
681b897b3c
Add flag is_failure_our_problem to fotest.c.
...
Copied from Perforce
Change: 195210
2018-10-08 17:19:18 +01:00
Alistair Turnbull
0ee5631c88
Branching master to branch/2018-10-08/fotest-flag.
...
Copied from Perforce
Change: 195202
2018-10-08 16:08:15 +01:00