Gareth Rees
072f30009d
Differentiate argerr/42.c and argerr/43.c so that the msvc incremental linker reliably updates the executable when we compile one and then the other.
...
Copied from Perforce
Change: 192467
ServerID: perforce.ravenbrook.com
2016-09-26 18:21:01 +01:00
Gareth Rees
a8ac974415
Avoid "conversion from 'size_t' to 'unsigned long', possible loss of data" warnings from microsoft visual c.
...
Copied from Perforce
Change: 192462
ServerID: perforce.ravenbrook.com
2016-09-26 16:59:35 +01:00
Gareth Rees
cc0d5a2b25
Avoid parentheses in parameters so that the test case passes on windows.
...
Copied from Perforce
Change: 192457
ServerID: perforce.ravenbrook.com
2016-09-26 16:17:38 +01:00
Gareth Rees
31db2e055c
Platform alignment is 16 on w3i6mv, so use mps_pf_align to avoid alignment failure.
...
Copied from Perforce
Change: 192456
ServerID: perforce.ravenbrook.com
2016-09-26 16:13:39 +01:00
Gareth Rees
d44d50dfd0
The mmqa runset command now takes multiple test-sets.
...
Copied from Perforce
Change: 192418
ServerID: perforce.ravenbrook.com
2016-09-14 16:24:34 +01:00
Gareth Rees
2b3d00c1ee
Update following release 1.116.0.
...
Copied from Perforce
Change: 192406
ServerID: perforce.ravenbrook.com
2016-09-14 14:18:17 +01:00
Gareth Rees
4d5ae93957
Don't set stackprobedepth to 500 if config_pf_ansi is defined -- this leads to an assertion failure in span.c.
...
Copied from Perforce
Change: 192393
ServerID: perforce.ravenbrook.com
2016-09-14 13:03:27 +01:00
Gareth Rees
3b03393381
Account allocations in amc segments between whiten and reclaim as condemned, improving the accuracy of the mortality calculation and avoiding assertion failure.
...
Copied from Perforce
Change: 192387
ServerID: perforce.ravenbrook.com
2016-09-14 12:49:51 +01:00
Gareth Rees
dbdf1696fb
More detailed windows test procedure.
...
Copied from Perforce
Change: 192386
ServerID: perforce.ravenbrook.com
2016-09-14 12:48:46 +01:00
Gareth Rees
eff92bd52c
Design.mps.nailboard.limitations.reclaim was recorded as job003856 and fixed by change 186812, so remove it from the design doc.
...
Copied from Perforce
Change: 192385
ServerID: perforce.ravenbrook.com
2016-09-14 12:48:23 +01:00
Gareth Rees
ed78e1e387
Fix references; automated procedure needs -g option.
...
Copied from Perforce
Change: 192375
ServerID: perforce.ravenbrook.com
2016-09-13 17:50:35 +01:00
Gareth Rees
5f86690a08
Update mps_release in preparation for forthcoming release 1.116.0.
...
Copied from Perforce
Change: 192370
ServerID: perforce.ravenbrook.com
2016-09-13 17:43:39 +01:00
Gareth Rees
4cc81bb371
Merge branch/2016-09-06/job004006.
...
Copied from Perforce
Change: 192365
ServerID: perforce.ravenbrook.com
2016-09-13 17:32:07 +01:00
Gareth Rees
63a44e3a91
Fix problems noted in review.
...
Copied from Perforce
Change: 192357
ServerID: perforce.ravenbrook.com
2016-09-13 17:19:07 +01:00
Gareth Rees
3cd7835844
Catch-up merge from custom/cet/branch/2016-09-13/job004006 to branch/2016-09-06/job004006.
...
Copied from Perforce
Change: 192351
ServerID: perforce.ravenbrook.com
2016-09-13 15:33:31 +01:00
Gareth Rees
201314f131
Support for customer task branches.
...
Copied from Perforce
Change: 192340
ServerID: perforce.ravenbrook.com
2016-09-13 12:41:52 +01:00
Gareth Rees
bdfc695361
Merge branch/2016-09-12/job004020.
...
Copied from Perforce
Change: 192325
ServerID: perforce.ravenbrook.com
2016-09-13 10:50:21 +01:00
Gareth Rees
2c5b947f9d
Mmqa test suite now passes on freebsd.
...
Copied from Perforce
Change: 192320
ServerID: perforce.ravenbrook.com
2016-09-13 10:19:03 +01:00
Gareth Rees
3398d94ecf
Avoid warnings from gcc 4.2 on freebsd.
...
Copied from Perforce
Change: 192310
ServerID: perforce.ravenbrook.com
2016-09-12 14:39:55 +01:00
Gareth Rees
2e583c6992
Predictable address space layout is only a problem on freebsd.
...
Copied from Perforce
Change: 192305
ServerID: perforce.ravenbrook.com
2016-09-12 13:58:00 +01:00
Gareth Rees
42dbb3bd5a
Need gmake on freebsd ("make" is bsd make).
...
Copied from Perforce
Change: 192297
ServerID: perforce.ravenbrook.com
2016-09-12 12:53:25 +01:00
Gareth Rees
eba3fdff52
New mmqa command debug compiles a test case and launches the debugger.
...
Copied from Perforce
Change: 192290
ServerID: perforce.ravenbrook.com
2016-09-12 12:26:40 +01:00
Gareth Rees
3f13486e08
Usability improvements for mmqa:
...
* -i option (MPS_INCLUDE_DIR) now defaults to the code directory relative to the test harness location.
* -p option (PLATFORM) is now a six-character platform code for consistency with the rest of the MPS.
* New -v option (VARIETY) for specifying cool/hot/rash.
* -l option (MPS_LINK_OBJ) now defaults to the appropriate object file for the platform and variety.
* The object file is built automatically.
* If $Id$ of a test file is longer than 70 characters, cut characters out of the middle rather than off the end.
* Eliminate obsolete option -prod (MPS_PRODUCT).
* Support for FreeBSD.
Copied from Perforce
Change: 192285
ServerID: perforce.ravenbrook.com
2016-09-12 11:55:36 +01:00
Gareth Rees
0867fe4dde
Branching master to branch/2016-09-12/job004020.
...
Copied from Perforce
Change: 192275
ServerID: perforce.ravenbrook.com
2016-09-12 09:48:55 +01:00
Gareth Rees
8340e390a5
In order to be able to test mps_arena_busy in all build configurations, we must always take and release the arena lock, even in the single-threaded case. we gain some additional checking by doing this, at low cost (since in this build configuration the locks are generic and so just increment/decrement a count of claims).
...
In the CONFIG_POLL_NONE we configuration, we would still like to check that no traces are busy when leaving the arena, but since we now call ArenaLeave in this configurations, move the assertion to ShieldLeave.
In ArenaDestroy, call ArenaLeave, don't just release the lock.
Copied from Perforce
Change: 192267
ServerID: perforce.ravenbrook.com
2016-09-09 13:01:25 +01:00
Gareth Rees
b02f39428a
Use imperative mood consistently.
...
Copied from Perforce
Change: 192259
ServerID: perforce.ravenbrook.com
2016-09-09 11:19:14 +01:00
Gareth Rees
7869db227e
Improve documentation.
...
Copied from Perforce
Change: 192258
ServerID: perforce.ravenbrook.com
2016-09-09 11:18:12 +01: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
cf6c484a89
Lockisheld implementation for generic ("ansi") locks.
...
When CONFIG_THREAD_SINGLE is defined, use the generic lock module rather than compiling out all lock calls via lock.h. (Otherwise test cases that check LockIsHeld will fail.)
Copied from Perforce
Change: 192254
ServerID: perforce.ravenbrook.com
2016-09-09 11:01:04 +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
045ff75367
Catch-up merge from master sources to branch/2016-09-06/job004006.
...
Copied from Perforce
Change: 192242
ServerID: perforce.ravenbrook.com
2016-09-08 11:46:38 +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
665d8197f0
Use area roots (instead of a thread root) to ensure that objects are finalized reliably even in the hot variety.
...
Copied from Perforce
Change: 192235
ServerID: perforce.ravenbrook.com
2016-09-08 10:57:07 +01:00
Gareth Rees
419ba15d42
Change 192148 (the fix for job004017) caused the hot variety to compile out assertions on the critical path in manual-allocation-bound programs, which caused various mmqa test cases to fail in the hot variety. move these failing tests to the coolonly testset.
...
Copied from Perforce
Change: 192234
ServerID: perforce.ravenbrook.com
2016-09-08 10:55:59 +01:00
Gareth Rees
c2e44cb103
The awl pool contains only weak references to objects that died, so the mps may be able to deduce (via its summary) that it does not need to be condemned, even to collect the world.
...
Copied from Perforce
Change: 192226
ServerID: perforce.ravenbrook.com
2016-09-07 10:20:39 +01:00
Gareth Rees
9bf231cf42
Branching master to branch/2016-09-06/job004006.
...
Copied from Perforce
Change: 192214
ServerID: perforce.ravenbrook.com
2016-09-06 11:41:23 +01:00
Gareth Rees
250fe26b81
Fix typo.
...
Copied from Perforce
Change: 192209
ServerID: perforce.ravenbrook.com
2016-09-05 23:50:29 +01:00
Gareth Rees
fc35c9b54a
Correct architectures.
...
Copied from Perforce
Change: 192208
ServerID: perforce.ravenbrook.com
2016-09-05 23:47:18 +01:00
Gareth Rees
e63d701374
Job003889 was fixed, so conerr/12.c passes.
...
Copied from Perforce
Change: 192207
ServerID: perforce.ravenbrook.com
2016-09-05 23:45:20 +01:00
Gareth Rees
d1708855b0
More glossary cross-references.
...
Copied from Perforce
Change: 192201
ServerID: perforce.ravenbrook.com
2016-09-05 16:45:40 +01:00
Gareth Rees
efd0973743
Document the gcwoah security issue.
...
Copied from Perforce
Change: 192200
ServerID: perforce.ravenbrook.com
2016-09-05 16:45:30 +01:00
Gareth Rees
6764d08810
Merge branch/2016-04-13/mortality.
...
Copied from Perforce
Change: 192195
ServerID: perforce.ravenbrook.com
2016-09-05 16:23:15 +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
eb4682aab3
Merge branch/2016-04-12/job004000.
...
Copied from Perforce
Change: 192191
ServerID: perforce.ravenbrook.com
2016-09-05 16:09:02 +01:00
Gareth Rees
89765a2d11
Describe fix for job004000 in the release notes.
...
Copied from Perforce
Change: 192190
ServerID: perforce.ravenbrook.com
2016-09-05 16:04:51 +01:00
Gareth Rees
331ec20beb
Catch-up merge from master sources to branch/2016-04-12/job004000.
...
Copied from Perforce
Change: 192187
ServerID: perforce.ravenbrook.com
2016-09-05 16:01:17 +01:00
Gareth Rees
e69de535d3
Merge branch/2016-04-21/amswalk.
...
Copied from Perforce
Change: 192184
ServerID: perforce.ravenbrook.com
2016-09-05 15:55:10 +01:00
Gareth Rees
90a16b56b1
Catch-up merge from master sources to branch/2016-04-21/amswalk.
...
Copied from Perforce
Change: 192181
ServerID: perforce.ravenbrook.com
2016-09-05 15:48:47 +01:00
Gareth Rees
d58750b23b
Merge branch/2016-04-23/inst-methods.
...
Copied from Perforce
Change: 192180
ServerID: perforce.ravenbrook.com
2016-09-05 15:38:50 +01:00
Gareth Rees
bc6bcde48f
Arenainit and arenafinish no longer exist under those names, and there is no longer anything special about them, so remove design documentation.
...
BufferFinishMethod and BufferDescribeMethod were removed, so remove the design documentation for them.
Copied from Perforce
Change: 192179
ServerID: perforce.ravenbrook.com
2016-09-05 15:33:57 +01:00