Gareth Rees
68d219c53b
Fix glossary references.
...
Copied from Perforce
Change: 192102
ServerID: perforce.ravenbrook.com
2016-09-02 19:07:45 +01:00
Gareth Rees
c737a08bc2
Fix assertion text in the manual.
...
Place a cross-reference by each assertion the appears in the manual, to assist in keeping the manual up to date.
Copied from Perforce
Change: 192097
ServerID: perforce.ravenbrook.com
2016-09-02 14:11:08 +01:00
Gareth Rees
b050eaefb0
Deprecation of reservoir functions was in release 1.115.
...
Copied from Perforce
Change: 192092
ServerID: perforce.ravenbrook.com
2016-09-02 13:27:05 +01:00
Gareth Rees
04a2891a67
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
63b301ca93
New program mpseventpy emits python data structures representing telemetry events.
...
Copied from Perforce
Change: 191895
ServerID: perforce.ravenbrook.com
2016-06-02 15:02:05 +01:00
Gareth Rees
38614c785e
Make shield assertions robust against deep checking -- when shieldcover is called from shieldraise there is one unsynced segment that has not yet been queued. record this fact in a new queuepending flag in the shield structure.
...
Remove incorrect shield assertion "shield->depth == 0 || shield->suspended" -- depth may be increased without suspending the mutator if the segment did not need protecting.
Copied from Perforce
Change: 191812
ServerID: perforce.ravenbrook.com
2016-05-03 17:25:27 +01:00
Gareth Rees
bf65b1e622
Patch the mfs pool's alloc method instead of rewriting its class -- the latter violates the class invariants and so asserts when deep checking is turned on.
...
Copied from Perforce
Change: 191779
ServerID: perforce.ravenbrook.com
2016-05-02 13:49:43 +01:00
Gareth Rees
0297b380b9
Clear the emergency before removing the trace from busytraces, to avoid violating <code/global.c#emergency.invariant>.
...
Copied from Perforce
Change: 191774
ServerID: perforce.ravenbrook.com
2016-05-02 13:06:07 +01:00
Gareth Rees
5e65f8dc6b
Epoch now only counts flips in which objects might have moved.
...
Copied from Perforce
Change: 191748
ServerID: perforce.ravenbrook.com
2016-05-01 09:35:24 +01:00
Richard Brooksby
6ede631ed1
Turning buffer describe methods the right way in, so that they use next-method.
...
Copied from Perforce
Change: 191589
ServerID: perforce.ravenbrook.com
2016-04-23 00:57:46 +01:00
Richard Brooksby
0ea36ccf02
Turning segment describe methods the right way in, so that they call next-method. deleting duplicate implementation of basic segment describe!
...
Copied from Perforce
Change: 191588
ServerID: perforce.ravenbrook.com
2016-04-23 00:48:48 +01:00
Richard Brooksby
b765128003
Turning pool describe methods the right way in, so that they call next-method.
...
Copied from Perforce
Change: 191587
ServerID: perforce.ravenbrook.com
2016-04-23 00:22:46 +01:00
Gareth Rees
b7e31828db
Memoryerror is only implemented on windows, so test for abort instead.
...
Copied from Perforce
Change: 191575
ServerID: perforce.ravenbrook.com
2016-04-22 17:17:53 +01:00
Gareth Rees
abcea0b2a5
The computed chunk size is the smallest size with a given number of usable bytes -- the actual chunk may be one grain larger.
...
Copied from Perforce
Change: 191574
ServerID: perforce.ravenbrook.com
2016-04-22 17:04:50 +01:00
Gareth Rees
fd3136bb30
Fix mmqa function test cases so that they run on windows. in detail:
...
1. On w3i6mv, int and long are 32 bits, so these types can't be used to hold a size_t or an mps_word_t. See 26.c, 38.c, 47.c, 66.c, 123.c, 136.c, 164.c, 165.c, 200.c, 203.c, 204.c, 205.c, 206.c, 207.c, 215.c, 223.c.
2. The Windows command line doesn't cope with parentheses. See 170.c.
3. The natural platform alignment is 16 bytes on w3i6mv, so allocations into pools using the default alignment need to be rounded up. See 21.c, 22.c, 203.c, 204.c, 205.c.
4. Microsoft Visual C/C++ is fussy about signed/unsigned comparison. See 226.c.
5. windows.h defines a SIZE macro so you can't use it as a parameter. See 232.c.
Copied from Perforce
Change: 191569
ServerID: perforce.ravenbrook.com
2016-04-22 15:44:58 +01:00
Gareth Rees
1d47d8f232
Get the mmqa test system working on windows. in detail:
...
1. Document how to run it on Windows from a Cygwin shell.
2. Ignore trailing spaces when analyzing test output.
3. Use the directory separator "/" since we're running under Cygwin.
4. No need for cat.exe, strings.exe, or tee.exe (these are supplied by Cygwin).
5. Microsoft Visual C/C++ needs /D_CRT_SECURE_NO_WARNINGS to avoid a warning about scanf.
6. The Microsoft Visual C/C++ linker no longer takes the options /debugtype:both or /debug:full. Replace with /debug.
7. Remove /pdb:none option (we want the PDB so that we can debug the result).
8. windows.h defines an UNALIGNED macro, so need to #undef it.
9. The long int type is 32 bits on 64-bit Windows, so we need size_t instead.
10. The values in the LPEXCEPTION_RECORD structure have type ULONG_PTR.
11. Test cases are expecting access violations to report abort=true, but on Windows they are caught by the exception handler, so report abort=true in this case.
12. mpsw3.h has gone, but we do need mpswin.h.
Fix some of the test cases:
1. Avoid compiler warning about overflowed multiplication in argerr/153.c.
2. In conerr/2.c, conerr/8.c and conerr/13.c, malloc enough space so that the signature check doesn't cause an access violation.
3. In conerr/25.c, allocate an object whose size is aligned to the platform alignment, which is 16 bytes on w3i6mv.
4. In connerr/18.c, conerr/53.c and conerr/54.c, update the location and text of the expected assertions.
Copied from Perforce
Change: 191564
ServerID: perforce.ravenbrook.com
2016-04-22 15:00:27 +01:00
Gareth Rees
82690aa532
Untabify.
...
Copied from Perforce
Change: 191528
ServerID: perforce.ravenbrook.com
2016-04-21 20:50:45 +01:00
Richard Brooksby
1115105a80
Merging branch/2016-04-08/protidying into master sources.
...
Copied from Perforce
Change: 191498
ServerID: perforce.ravenbrook.com
2016-04-21 17:18:36 +01:00
Richard Brooksby
b06ee89936
Supressing "may be used uninitialized" warnings from gcc.
...
Copied from Perforce
Change: 191489
ServerID: perforce.ravenbrook.com
2016-04-21 15:34:20 +01:00
Gareth Rees
21585896dd
Just report the performance ratio, don't fail if it's too large (to avoid continuous integration failures).
...
Copied from Perforce
Change: 191486
ServerID: perforce.ravenbrook.com
2016-04-21 15:33:08 +01:00
Richard Brooksby
2f4348a253
Minor comment fix.
...
Copied from Perforce
Change: 191481
ServerID: perforce.ravenbrook.com
2016-04-21 15:27:42 +01:00
Richard Brooksby
546e082125
Removing bogus arenatrivdescribe and turning arenadescribe the right way in.
...
Copied from Perforce
Change: 191480
ServerID: perforce.ravenbrook.com
2016-04-21 15:27:41 +01:00
Richard Brooksby
4a8e015d30
Typo.
...
Copied from Perforce
Change: 191479
ServerID: perforce.ravenbrook.com
2016-04-21 15:27:41 +01:00
Richard Brooksby
3f76b36cf4
Eliminating special case of amsinitinternal, since amst can now just use a standard next-method.
...
Copied from Perforce
Change: 191476
ServerID: perforce.ravenbrook.com
2016-04-21 15:24:51 +01:00
Richard Brooksby
4be15a5b0b
Catch-up merge from master sources to branch/2016-04-08/protidying.
...
Copied from Perforce
Change: 191471
ServerID: perforce.ravenbrook.com
2016-04-21 14:46:10 +01:00
Richard Brooksby
d249780b2d
Enforcing rules about class overrides that were dropped in changelist 190837.
...
Copied from Perforce
Change: 191453
ServerID: perforce.ravenbrook.com
2016-04-21 13:41:27 +01:00
Richard Brooksby
4db81ddfa0
Merging branch/2016-04-21/ld-history into master sources.
...
Copied from Perforce
Change: 191447
ServerID: perforce.ravenbrook.com
2016-04-21 13:07:10 +01:00
Gareth Rees
7cea9285f2
Correct the documentation for mps_collections.
...
In finalcv, don't rely on mps_collections to terminate the test case: use garbage collection messages.
Copied from Perforce
Change: 191442
ServerID: perforce.ravenbrook.com
2016-04-21 12:34:26 +01:00
Richard Brooksby
ebe1cfa9cc
Minor clarification.
...
Copied from Perforce
Change: 191437
ServerID: perforce.ravenbrook.com
2016-04-21 11:10:18 +01:00
Richard Brooksby
e87ff3aa7c
Responding to review by gdr < https://info.ravenbrook.com/mail/2016/04/21/09-36-07/0/ >.
...
Copied from Perforce
Change: 191432
ServerID: perforce.ravenbrook.com
2016-04-21 10:56:35 +01:00
Gareth Rees
5050d53d48
Increase target ratios to reduce false positives.
...
Copied from Perforce
Change: 191420
ServerID: perforce.ravenbrook.com
2016-04-21 09:12:16 +01:00
Richard Brooksby
02a8064a07
Moving location dependency history into its own structure to reduce arenastruct bloat.
...
Copied from Perforce
Change: 191417
ServerID: perforce.ravenbrook.com
2016-04-21 09:05:34 +01:00
Richard Brooksby
087dd9dec9
Branching master to branch/2016-04-21/ld-history.
...
Copied from Perforce
Change: 191410
ServerID: perforce.ravenbrook.com
2016-04-21 09:06:03 +01:00
Richard Brooksby
d618f77b2e
Removing unused (and useless) poolfix macro.
...
Copied from Perforce
Change: 191407
ServerID: perforce.ravenbrook.com
2016-04-21 08:59:52 +01:00
Gareth Rees
ffcd3f0b7b
Merge branch/2016-04-11/job003998.
...
Copied from Perforce
Change: 191388
ServerID: perforce.ravenbrook.com
2016-04-20 17:56:59 +01:00
Gareth Rees
68fd97647f
Pass the -p (posix output) option to /usr/bin/time so that the results are portable between os x and linux.
...
Copied from Perforce
Change: 191378
ServerID: perforce.ravenbrook.com
2016-04-20 16:19:38 +01:00
Gareth Rees
0d0eb93f01
Merge branch/2016-04-19/job004011.
...
Copied from Perforce
Change: 191374
ServerID: perforce.ravenbrook.com
2016-04-20 16:00:43 +01:00
Gareth Rees
a5973e98f8
Merge branch/2016-04-19/job004007.
...
Copied from Perforce
Change: 191371
ServerID: perforce.ravenbrook.com
2016-04-20 15:56:32 +01:00
Gareth Rees
8a19bd5e8c
Initialize arena->zoneshift to zoneshiftunset (which is not a valid shift) and modify the arena checking to spot this value. previously a default shift value (namely 20) was used, but this value was bogus as the zone shift is not determined until the class initialization runs.
...
Copied from Perforce
Change: 191370
ServerID: perforce.ravenbrook.com
2016-04-20 15:51:16 +01:00
Gareth Rees
c5456223c1
Performance ratio test uses cpu time (not real time). use awk instead of dc to avoid having to install a package.
...
Copied from Perforce
Change: 191365
ServerID: perforce.ravenbrook.com
2016-04-20 15:07:22 +01:00
Gareth Rees
96e6cd054d
Discuss a possible better solution than the collectworldallowed flag.
...
Copied from Perforce
Change: 191360
ServerID: perforce.ravenbrook.com
2016-04-20 14:24:01 +01:00
Richard Brooksby
af037d483c
Squelching bogus type pun warnings from gcc 4.7 to get a clean build in travis ci.
...
Adding platform XCI6GC to allow faster debugging of CI builds on Mac OS X with MacPorts GCC 4.7 installed. Not otherwise supported.
Copied from Perforce
Change: 191357
ServerID: perforce.ravenbrook.com
2016-04-20 13:59:23 +01:00
Gareth Rees
6f675c3862
Install dc (the unix desk calculator) so that testratio can compute performance ratios.
...
Copied from Perforce
Change: 191352
ServerID: perforce.ravenbrook.com
2016-04-20 13:53:15 +01:00
Gareth Rees
655e358db4
Add a test checking that the hot variety is not too much slower than the rash variety. turn this on for continuous integration testing via "make test".
...
Copied from Perforce
Change: 191339
ServerID: perforce.ravenbrook.com
2016-04-20 13:15:18 +01:00
Richard Brooksby
84efc9c914
Reverting attempts to avoid bogus pointer punning warnings by updating gcc, since this didn't work.
...
Copied from Perforce
Change: 191334
ServerID: perforce.ravenbrook.com
2016-04-20 13:00:22 +01:00
Gareth Rees
f91dbd333d
Release notes.
...
Copied from Perforce
Change: 191319
ServerID: perforce.ravenbrook.com
2016-04-20 09:39:50 +01:00
Gareth Rees
e3f176bace
Release notes.
...
Copied from Perforce
Change: 191318
ServerID: perforce.ravenbrook.com
2016-04-20 09:35:37 +01:00
Gareth Rees
3f41c3fba4
Discard all messages retrieved from the queue.
...
Copied from Perforce
Change: 191317
ServerID: perforce.ravenbrook.com
2016-04-20 09:35:27 +01:00
Richard Brooksby
7f44fb60fb
Eliminating poolpoolmfs in favour of mustbea.
...
Copied from Perforce
Change: 191312
ServerID: perforce.ravenbrook.com
2016-04-19 23:30:18 +01:00
Richard Brooksby
ef6407e9c6
Eliminating seg2linkseg, linkseg2seg, seg2refseg, refseg2seg, poolmrg, and mrgpool in favour of mustbea.
...
Copied from Perforce
Change: 191311
ServerID: perforce.ravenbrook.com
2016-04-19 23:29:46 +01:00