1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

2806 commits

Author SHA1 Message Date
Gareth Rees
1442df6958 Revert change 196178, submitted on wrong branch.
Copied from Perforce
 Change: 196185
2019-06-05 10:36:50 +01:00
Gareth Rees
88f046fff1 Call mps_arena_create_k, not mps_arena_create.
Copied from Perforce
 Change: 196181
2019-06-04 15:40:38 +01:00
Gareth Rees
b46461edb5 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
93b1364fd2 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
5f42b4b2b1 Simulate just one allocation failure each time.
Copied from Perforce
 Change: 195983
2019-02-07 11:57:16 +00:00
Gareth Rees
d1418dec5e 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
fd8eba1528 Update urls (mostly http -> https).
Copied from Perforce
 Change: 195858
2018-12-10 13:07:41 +00:00
Gareth Rees
0b324c158b Use tags with dots; regularize design references from code.
Copied from Perforce
 Change: 195761
2018-11-29 17:12:29 +00:00
Gareth Rees
cc9d3b9f7b 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
920b7d1200 Improving clarity with some hyphens.
Copied from Perforce
 Change: 195688
2018-11-19 21:12:15 +00:00
Richard Brooksby
9e8f076716 Fixing copy-paste error in comment.
Copied from Perforce
 Change: 195683
2018-11-19 20:56:45 +00:00
Alistair Turnbull
eeb8b6aa9c 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
9e03b1db34 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
fa3abac8df 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
6edddcbabb Fix mpseventsql, broken by change 195250.
Copied from Perforce
 Change: 195258
2018-10-15 11:55:51 +01:00
Gareth Rees
ae8f45704e Convenience target for building mpseventsql.
Copied from Perforce
 Change: 195251
2018-10-14 14:59:15 +01:00
Gareth Rees
af935e8479 Update mpseventsql to handle event parameter documentation.
Copied from Perforce
 Change: 195250
2018-10-14 14:59:01 +01:00
Gareth Rees
60bf7320e2 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
c0266874cf 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
2965fc9150 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
08a7e943b6 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
779380b40d Remove job4014 machinery, which is no longer needed.
Copied from Perforce
 Change: 195211
2018-10-08 17:25:22 +01:00
Alistair Turnbull
766aee0567 Add flag is_failure_our_problem to fotest.c.
Copied from Perforce
 Change: 195210
2018-10-08 17:19:18 +01:00
Gareth Rees
5a2e321a20 Fix issue identified in review <https://info.ravenbrook.com/mail/2018/09/22/15-55-52/0/>
Copied from Perforce
 Change: 195142
2018-09-23 23:00:59 +01:00
Gareth Rees
b903309074 Move assignment so as to avoid "variable 'warmest' might be clobbered by 'longjmp'".
Copied from Perforce
 Change: 195136
2018-09-23 20:31:52 +01:00
David Lovemore
fe05398e64 Address issue 5 found in review <https://info.ravenbrook.com/mail/2018/09/22/11-42-19/0/>
Copied from Perforce
 Change: 195133
2018-09-23 05:36:19 +01:00
Gareth Rees
a25cb5b29d Don't specify macosx_deployment_target in the xcode project -- this avoids complaints from xcode 10.0 without preventing compilation on old versions of macos.
Copied from Perforce
 Change: 195108
2018-09-18 18:18:50 +01:00
Gareth Rees
bf95401d06 Remove unused function rangetreeinit and rename rangetreeinitfromrange to rangetreeinit.
Copied from Perforce
 Change: 195094
2018-09-18 15:37:13 +01:00
Gareth Rees
56a5573881 Update xcode project for xcode 10.0.
Xcode 10.0 no longer supports building for IA-32, so the MPS can no longer support building for xci3ll using Xcode.
Revise example Scheme interpreter so that it can be compiled even if getopt.h includes unistd.h (as it does on macOS).

Copied from Perforce
 Change: 195090
2018-09-18 15:00:45 +01:00
Gareth Rees
ee06f16296 Remove support for macos 10.4 and 10.5, because xcode 10.0 does not support these versions.
Copied from Perforce
 Change: 195087
2018-09-18 14:18:52 +01:00
Gareth Rees
1799e7bf99 More cross-references.
Copied from Perforce
 Change: 195084
2018-09-18 12:55:54 +01:00
Gareth Rees
f6721224bf Guide for new developers.
Documentation design.
Expand test case design.

Copied from Perforce
 Change: 195083
2018-09-18 12:50:29 +01:00
Gareth Rees
6780a47e2d Clearer about what kind of checks we might add.
Copied from Perforce
 Change: 195078
2018-09-16 23:11:34 +01:00
Gareth Rees
ab9118b490 Add source for some of the monitor requirements.
Add missing design cross-references.
Fix typo: "even" for "event".

Copied from Perforce
 Change: 195075
2018-09-16 12:43:46 +01:00
Gareth Rees
06b87869fd Catch-up merge from master sources at changelevel 194022 to branch/2018-06-20/monitor.
Copied from Perforce
 Change: 195071
2018-09-15 21:29:28 +01:00
Gareth Rees
d6c8713da4 Address issues found in review <https://info.ravenbrook.com/mail/2018/09/13/15-44-23/0/>
Copied from Perforce
 Change: 195057
2018-09-13 16:47:51 +01:00
Gareth Rees
2f423d8796 Avoid division by zero.
Copied from Perforce
 Change: 194983
2018-08-14 09:51:41 +01:00
Gareth Rees
0747ce1ee7 Describe values uniformly as bytes (not kilobytes).
Copied from Perforce
 Change: 194982
2018-08-14 09:44:15 +01:00
Gareth Rees
2f0e125ad4 Make use of mrgrefpartref in mrgmessagefinalizationref.
Copied from Perforce
 Change: 194979
2018-08-14 09:25:43 +01:00
Gareth Rees
b0d0c9a262 Merge branch/2018-08-01/land-insert-steal into the master sources.
Copied from Perforce
 Change: 194968
2018-08-13 14:42:25 +01:00
Gareth Rees
2813640e94 Call arenafreelandinsertextend before landinsertsteal, to reduce the amount of fragmentation.
Copied from Perforce
 Change: 194965
2018-08-13 14:29:19 +01:00
Gareth Rees
a6c6e7bac8 Merge branch/2016-03-04/spare-fraction into the master sources.
Copied from Perforce
 Change: 194962
2018-08-13 13:55:47 +01:00
Gareth Rees
2be26a282a Add spare commit fraction option to djbench and gcbench.
Copied from Perforce
 Change: 194953
2018-08-13 12:28:49 +01:00
Gareth Rees
8e0308666f Update next release to 1.118.0.
Copied from Perforce
 Change: 194952
2018-08-13 12:28:18 +01:00
Gareth Rees
d287296173 Update help strings.
Copied from Perforce
 Change: 194951
2018-08-13 12:21:25 +01:00
Gareth Rees
10999f8ba8 If mps_key_spare_commit_limit and mps_key_spare are both given, then the latter takes precedence.
If MPS_KEY_SPARE_COMMIT_LIMIT has a value greater than the commit limit, clamp the spare commit limit to 1.0.
Add smoke test coverage of MPS_KEY_SPARE, mps_arena_spare, and mps_arena_spare_set.
Document the deprecation of MPS_KEY_SPARE_COMMIT_LIMIT.

Copied from Perforce
 Change: 194948
2018-08-13 10:30:18 +01:00
Gareth Rees
1f998c0c8e Add some test coverage for mps_key_spare, mps_arena_spare, and mps_arena_spare_set.
Copied from Perforce
 Change: 194945
2018-08-13 10:09:45 +01:00
Gareth Rees
b89acd072b Address points 1-10, 13-14 from <https://info.ravenbrook.com/mail/2018/08/03/10-09-09/0/>
Copied from Perforce
 Change: 194942
2018-08-13 08:10:55 +01:00
Gareth Rees
3bfd0a545e Catch-up merge from master sources at changelevel 194869 to branch/2016-03-04/spare-fraction.
Copied from Perforce
 Change: 194872
2018-08-02 15:14:23 +01:00
Gareth Rees
967b61398d Replace mv debug with mvff debug.
Remove some remaining occurrences of mpscvm.h.

Copied from Perforce
 Change: 194865
2018-08-02 14:20:23 +01:00