Gareth Rees
68f9a3cd5c
Fix assertion in bootblockcheck.
...
Copied from Perforce
Change: 186204
ServerID: perforce.ravenbrook.com
2014-05-20 12:44:36 +01:00
Gareth Rees
c92970302e
Add gendesc and poolgen to the list of types.
...
Copied from Perforce
Change: 186197
ServerID: perforce.ravenbrook.com
2014-05-19 17:12:03 +01:00
Gareth Rees
2f6c8cb9c8
Update design.mps.strategy to describe the current relationship between chains, generations and pool generations; bring the description of the condemn logic up to date.
...
Copied from Perforce
Change: 186196
ServerID: perforce.ravenbrook.com
2014-05-19 17:11:36 +01:00
Gareth Rees
a3e6d214fa
Fix status-handling defect noted by nb in review.
...
Make indentation consistent with rest of MPS code.
Fix copyright date.
Copied from Perforce
Change: 186193
ServerID: perforce.ravenbrook.com
2014-05-19 16:23:42 +01:00
Gareth Rees
dcf84a3755
Merge branch/2014-04-30/poolgen into the master sources.
...
Copied from Perforce
Change: 186190
ServerID: perforce.ravenbrook.com
2014-05-19 15:56:49 +01:00
Gareth Rees
43d30e9ca3
Gcbench now reports the number of chunks.
...
Copied from Perforce
Change: 186188
ServerID: perforce.ravenbrook.com
2014-05-19 15:41:20 +01:00
Gareth Rees
c974c43840
New tool noaslr disables address space layout randomization on os x.
...
Copied from Perforce
Change: 186187
ServerID: perforce.ravenbrook.com
2014-05-19 15:40:31 +01:00
Gareth Rees
c381033485
Add test suite support to xcode project.
...
Copied from Perforce
Change: 186186
ServerID: perforce.ravenbrook.com
2014-05-19 15:39:18 +01:00
Gareth Rees
b2f8c11ebb
Catch-up merge from master sources @186174 to branch/2014-04-30/poolgen.
...
Copied from Perforce
Change: 186185
ServerID: perforce.ravenbrook.com
2014-05-19 14:59:19 +01:00
Gareth Rees
f5547fb738
Don't include pooln.c in mps.c -- only used by test case poolncv.
...
Include dependencies in all varieties, not just in COOL.
Copied from Perforce
Change: 186174
ServerID: perforce.ravenbrook.com
2014-05-19 11:39:05 +01:00
Gareth Rees
6dec3e4cec
Correct dependencies for benchmarks and event tools.
...
Copied from Perforce
Change: 186171
ServerID: perforce.ravenbrook.com
2014-05-19 10:55:48 +01:00
Gareth Rees
f39c3d27ff
Documentation improvements suggests by bruce mitchener:
...
* Fix cross-references to mps_pool_debug_option_s
* Link pool classes in the header of the table of pool class properties
Copied from Perforce
Change: 186150
ServerID: perforce.ravenbrook.com
2014-05-17 09:30:45 +01:00
Gareth Rees
b5fa39ff39
Check meaning of extend_by and remove fixme.
...
Copied from Perforce
Change: 186148
ServerID: perforce.ravenbrook.com
2014-05-17 00:26:34 +01:00
Gareth Rees
7381205b94
Reverse integration from version/1.113 to master sources.
...
Also, much improvement in wording of release notes.
Copied from Perforce
Change: 186146
ServerID: perforce.ravenbrook.com
2014-05-16 23:40:09 +01:00
Gareth Rees
ca839741cb
Be more forceful about the requirement to update the fixed reference.
...
Copied from Perforce
Change: 186136
ServerID: perforce.ravenbrook.com
2014-05-16 13:36:52 +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
971b4fbdaa
Check for performance regressions before making a release.
...
Copied from Perforce
Change: 186127
ServerID: perforce.ravenbrook.com
2014-05-16 11:17:29 +01:00
Gareth Rees
0bbc3befd8
Remove unused macros ("unless" and "when").
...
Copied from Perforce
Change: 186120
ServerID: perforce.ravenbrook.com
2014-05-15 17:35:27 +01:00
Gareth Rees
fc0b32b461
Avoid looping over the tracts of a span in mvspancheck in production varieties. (merged from change 184499.)
...
Copied from Perforce
Change: 186077
ServerID: perforce.ravenbrook.com
2014-05-13 14:30:52 +01:00
Gareth Rees
089b66635c
Assert that size > 0 in cbsfindlargest. (merged from change 184496.)
...
Copied from Perforce
Change: 186075
ServerID: perforce.ravenbrook.com
2014-05-13 13:44:42 +01:00
Gareth Rees
2678554475
Fixed a bug in cbsfindlargest where it always deleted the entire range found even when finddeletelow or finddeletehigh were passed. (merged from change 184493.)
...
Copied from Perforce
Change: 186074
ServerID: perforce.ravenbrook.com
2014-05-13 13:33:46 +01:00
Gareth Rees
4cc791616e
Bug fix. ensuring cbsfinddeleterange returns oldrangereturn even if it doesn’t delete a block. (merged from change 184485.)
...
Copied from Perforce
Change: 186070
ServerID: perforce.ravenbrook.com
2014-05-13 12:30:23 +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
9aecea10df
Ansi platform compiles and passes tests on windows. in detail:
...
* Move Windows-specific modules like vmw3.c out of commpre.nmk and into the platform-specific Nmake files.
* Set StackProbeDEPTH to 0 on the ANSI platform.
* New Nmake file ananmv.nmk builds the MPS for the ANSI platform using Microsoft Visual C/C++.
Copied from Perforce
Change: 186063
ServerID: perforce.ravenbrook.com
2014-05-13 10:12:56 +01:00
Gareth Rees
a6ce57cb0e
Compile testthrw3.c on all windows build configurations.
...
Copied from Perforce
Change: 186061
ServerID: perforce.ravenbrook.com
2014-05-13 09:33:26 +01:00
Gareth Rees
ac79e9110f
Windows doesn't have setenv, so use _putenv_s.
...
Copied from Perforce
Change: 186060
ServerID: perforce.ravenbrook.com
2014-05-13 09:32:06 +01:00
Gareth Rees
ce16681f03
Need -lpthread so that we can compile the threading test cases, even though we aren't going to be able to run them.
...
Copied from Perforce
Change: 186057
ServerID: perforce.ravenbrook.com
2014-05-12 22:18:09 +01:00
Gareth Rees
cbddbd5fac
Only link the testthr* module with test cases that use it.
...
Copied from Perforce
Change: 186055
ServerID: perforce.ravenbrook.com
2014-05-12 21:54:52 +01:00
Gareth Rees
eaae595b79
Fix p4-bisect interface
...
Copied from Perforce
Change: 186053
ServerID: perforce.ravenbrook.com
2014-05-12 21:01:58 +01:00
Gareth Rees
84ee41b58b
Increase the commit limit for exposet0 so that the test always passes.
...
Copied from Perforce
Change: 186051
ServerID: perforce.ravenbrook.com
2014-05-12 19:51:54 +01:00
Gareth Rees
51ae9e9343
Segsmss needs to park the arena (because otherwise there might be a collection running on the amst pool's chain).
...
Copied from Perforce
Change: 186050
ServerID: perforce.ravenbrook.com
2014-05-12 19:48:39 +01:00
Gareth Rees
598bd93af8
Setenv requires _gnu_source, so get the headers in the right order so that the feature macros are set up in config.h before any system header is included.
...
Don't update _XOPEN_SOURCE if it's already set to a high enough value.
Copied from Perforce
Change: 186049
ServerID: perforce.ravenbrook.com
2014-05-12 19:48:01 +01:00
Gareth Rees
b38051bdfb
Steptest uses incremental collection, so can't be run under config_poll_none.
...
Copied from Perforce
Change: 186046
ServerID: perforce.ravenbrook.com
2014-05-12 19:11:07 +01:00
Gareth Rees
ca9d2da6df
Merge branch/2014-03-25/ansi into the master sources.
...
Copied from Perforce
Change: 186045
ServerID: perforce.ravenbrook.com
2014-05-12 19:09:48 +01:00
Gareth Rees
21a69d0bfc
Fumbled the merge.
...
Copied from Perforce
Change: 186043
ServerID: perforce.ravenbrook.com
2014-05-12 18:53:10 +01:00
Gareth Rees
8a1418ea6d
Catch-up merge of testrun.sh (somehow got omitted).
...
Copied from Perforce
Change: 186042
ServerID: perforce.ravenbrook.com
2014-05-12 18:51:15 +01:00
Gareth Rees
c5d4660eeb
Catch-up merge of testrun.bat (somehow got omitted).
...
Copied from Perforce
Change: 186041
ServerID: perforce.ravenbrook.com
2014-05-12 18:48:15 +01:00
Gareth Rees
35985c3587
Catch-up merge from master sources @186035 to branch/2014-03-25/ansi.
...
Copied from Perforce
Change: 186040
ServerID: perforce.ravenbrook.com
2014-05-12 18:42:33 +01:00
Gareth Rees
9836b47c70
Fix problems identified in nb's review < https://info.ravenbrook.com/mail/2014/05/12/15-10-13/0/ >.
...
Copied from Perforce
Change: 186038
ServerID: perforce.ravenbrook.com
2014-05-12 18:22:40 +01:00
Gareth Rees
ea61771e1a
Fix many mmqa test cases:
...
* Use commit limit to test exhaustion instead of trying to exhaust virtual memory.
* Use exact roots where possible so that we don't have to worry about local variables pinning down memory.
* Reduce sizes and iterations so that tests complete in a reasonable amount of time.
* Use "MVT" instead of "MV2".
Update the list of passing test cases.
Copied from Perforce
Change: 186035
ServerID: perforce.ravenbrook.com
2014-05-12 17:13:00 +01:00
Gareth Rees
3072f03b78
Improve the assertion output so that it is less suggestive of a bug in the mps and more suggestive of a problem that needs investigation.
...
Copied from Perforce
Change: 186032
ServerID: perforce.ravenbrook.com
2014-05-12 15:59:21 +01:00
Gareth Rees
dddc8e2e7b
Add instructions for running the test suite on os x.
...
Copied from Perforce
Change: 186031
ServerID: perforce.ravenbrook.com
2014-05-12 15:58:36 +01:00
Gareth Rees
467f35d5f1
Test cases must call mps_arena_park before mps_chain_destroy.
...
Reduce the amount of work done by some test cases, to make the suite easier to run.
Update the list of passing test cases.
Copied from Perforce
Change: 186030
ServerID: perforce.ravenbrook.com
2014-05-12 15:58:16 +01:00
Gareth Rees
95ee3a4568
Check the trace argument to tracequantum.
...
Copied from Perforce
Change: 186027
ServerID: perforce.ravenbrook.com
2014-05-12 13:35:21 +01:00
Gareth Rees
5ae19ee234
Improve coverage of events by turning on mps_telemetry_control=all and by running mpseventcnv, mpseventtxt and (if available) mpseventsql.
...
Copied from Perforce
Change: 186025
ServerID: perforce.ravenbrook.com
2014-05-12 12:54:33 +01:00
Gareth Rees
435722442e
Park the arena before calling mps_chain_destroy.
...
Speed up mpsicv by reducing number of objects and by only running the test once (there's no inlined mps_tramp any more).
Copied from Perforce
Change: 186024
ServerID: perforce.ravenbrook.com
2014-05-12 12:53:46 +01:00
Gareth Rees
08822ad7e0
Mpseventtxt must not itself output telemetry, otherwise it is likely to overwrite the telemetry it is converting.
...
Copied from Perforce
Change: 186023
ServerID: perforce.ravenbrook.com
2014-05-12 12:30:46 +01:00
Gareth Rees
e7f41fe61b
Park the arena before destroying the default chain, to ensure that there are no traces using that chain.
...
Fix test cases that used automatic collection, but destroyed data structures without parking the arena.
Document the requirement on mps_chain_destroy and add the assertion to "common assertions and their causes".
Copied from Perforce
Change: 186021
ServerID: perforce.ravenbrook.com
2014-05-12 11:19:57 +01:00
Gareth Rees
a4044d0dc3
It is an error to destroy a chain if there is an active trace using the chain.
...
Copied from Perforce
Change: 186013
ServerID: perforce.ravenbrook.com
2014-05-11 21:47:20 +01:00