1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-26 08:41:47 -07:00
Commit graph

5105 commits

Author SHA1 Message Date
Gareth Rees
7e22bed98f Merge branch/2014-04-08/align into branch/2014-05-15/size.
Copied from Perforce
 Change: 186116
 ServerID: perforce.ravenbrook.com
2014-05-15 14:54:36 +01:00
Gareth Rees
d3c8f52840 Fumbled the merge.
Copied from Perforce
 Change: 186113
 ServerID: perforce.ravenbrook.com
2014-05-15 10:22:57 +01:00
Gareth Rees
f33cb90063 Merge branches 2014-04-15/mvffnoseg and 2014-04-23/awl into 2014-05-15/size.
Copied from Perforce
 Change: 186112
 ServerID: perforce.ravenbrook.com
2014-05-15 10:21:02 +01:00
Gareth Rees
a4611cb411 Catch-up merge from master sources @186077 to branch/2014-04-23/awl.
Copied from Perforce
 Change: 186110
 ServerID: perforce.ravenbrook.com
2014-05-15 10:17:41 +01:00
Gareth Rees
d1f04dc9f1 Branching master to branch/2014-05-15/size.
Copied from Perforce
 Change: 186108
 ServerID: perforce.ravenbrook.com
2014-05-15 10:09:14 +01:00
Gareth Rees
f2dd0579f8 Fix formatting of table.
Copied from Perforce
 Change: 186097
 ServerID: perforce.ravenbrook.com
2014-05-13 22:10:04 +01:00
Gareth Rees
ae0cbbfbc4 Add note about potential for speed improvement, as requested by rb.
Copied from Perforce
 Change: 186093
 ServerID: perforce.ravenbrook.com
2014-05-13 18:04:59 +01:00
Gareth Rees
6d91ddbe12 Describe the block pool.
Copied from Perforce
 Change: 186091
 ServerID: perforce.ravenbrook.com
2014-05-13 17:49:35 +01:00
Gareth Rees
4815fb8e8a Delete files accidentally branched from branch/2014-02-23/mvff-tune.
Copied from Perforce
 Change: 186088
 ServerID: perforce.ravenbrook.com
2014-05-13 17:37:48 +01:00
Gareth Rees
12de34f5f4 Update release notes.
Copied from Perforce
 Change: 186087
 ServerID: perforce.ravenbrook.com
2014-05-13 17:31:43 +01:00
Gareth Rees
7084978cf2 Document mps_key_spare keyword argument.
Copied from Perforce
 Change: 186085
 ServerID: perforce.ravenbrook.com
2014-05-13 17:21:25 +01:00
Gareth Rees
a25521dbe9 Catch-up merge from branch/2014-03-30/addrset to branch/2014-04-15/mvffnoseg.
Copied from Perforce
 Change: 186082
 ServerID: perforce.ravenbrook.com
2014-05-13 16:27:17 +01:00
Gareth Rees
883f4a4c3f Catch-up merge from master sources @186077 to branch/2014-03-30/addrset.
Copied from Perforce
 Change: 186081
 ServerID: perforce.ravenbrook.com
2014-05-13 16:21:39 +01:00
Gareth Rees
7818a73504 Merge branch/2014-02-23/mvff-tune into branch/2014-04-15/mvffnoseg.
Copied from Perforce
 Change: 186079
 ServerID: perforce.ravenbrook.com
2014-05-13 16:10:51 +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
81992a6d5a Integrate deletion of fbmtest.c from branch/2014-03-30/addrset to branch/2014-04-15/mvffnoseg.
Copied from Perforce
 Change: 186068
 ServerID: perforce.ravenbrook.com
2014-05-13 11:25: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
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
Gareth Rees
026662618c Check the argument using argcheck.
Copied from Perforce
 Change: 186007
 ServerID: perforce.ravenbrook.com
2014-05-11 19:18:54 +01:00
Gareth Rees
32cd7e343b Remove mps_key_cbs_extend_by and mfsextendself keyword arguments to cbsinit. these were unused and obsoleted by cbsblockpool.
Copied from Perforce
 Change: 186006
 ServerID: perforce.ravenbrook.com
2014-05-11 19:09:44 +01:00
Gareth Rees
a853b9570e Remove unused function mfsgetinfo and unused type mfsinfo.
Copied from Perforce
 Change: 186004
 ServerID: perforce.ravenbrook.com
2014-05-11 18:52:53 +01:00