Gareth Rees
5faa229dd0
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
bf37e11ba9
Improving clarity with some hyphens.
...
Copied from Perforce
Change: 195688
2018-11-19 21:12:15 +00:00
Richard Brooksby
89aae0a96e
Fixing copy-paste error in comment.
...
Copied from Perforce
Change: 195683
2018-11-19 20:56:45 +00:00
Gareth Rees
1ec8c4a141
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
50f25c43ae
Fix mpseventsql, broken by change 195250.
...
Copied from Perforce
Change: 195258
2018-10-15 11:55:51 +01:00
Gareth Rees
c024758d0a
Convenience target for building mpseventsql.
...
Copied from Perforce
Change: 195251
2018-10-14 14:59:15 +01:00
Gareth Rees
4a789a4b0d
Update mpseventsql to handle event parameter documentation.
...
Copied from Perforce
Change: 195250
2018-10-14 14:59:01 +01:00
Gareth Rees
cbf9885146
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
803703fb74
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
77506b67e7
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
882d86bac1
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
Gareth Rees
aa9f8bef8a
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
de33a1f68d
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
8c14e1a600
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
c2ee5a02dc
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
6a6bf7f52e
Remove unused function rangetreeinit and rename rangetreeinitfromrange to rangetreeinit.
...
Copied from Perforce
Change: 195094
2018-09-18 15:37:13 +01:00
Gareth Rees
94e3f8895b
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
df34ac67df
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
56d1c0bc12
More cross-references.
...
Copied from Perforce
Change: 195084
2018-09-18 12:55:54 +01:00
Gareth Rees
a07f027f02
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
1506a09b79
Clearer about what kind of checks we might add.
...
Copied from Perforce
Change: 195078
2018-09-16 23:11:34 +01:00
Gareth Rees
5ec88060f4
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
d2d2895c03
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
0c8dc0dac5
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
bfe482e9e8
Avoid division by zero.
...
Copied from Perforce
Change: 194983
2018-08-14 09:51:41 +01:00
Gareth Rees
09066b0ef4
Describe values uniformly as bytes (not kilobytes).
...
Copied from Perforce
Change: 194982
2018-08-14 09:44:15 +01:00
Gareth Rees
0bf8ab8610
Make use of mrgrefpartref in mrgmessagefinalizationref.
...
Copied from Perforce
Change: 194979
2018-08-14 09:25:43 +01:00
Gareth Rees
cdb8c9bc5e
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
5a8fe51e8c
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
d8ad7532c3
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
97dc0a9764
Add spare commit fraction option to djbench and gcbench.
...
Copied from Perforce
Change: 194953
2018-08-13 12:28:49 +01:00
Gareth Rees
1d45cfcd7b
Update next release to 1.118.0.
...
Copied from Perforce
Change: 194952
2018-08-13 12:28:18 +01:00
Gareth Rees
15c999feda
Update help strings.
...
Copied from Perforce
Change: 194951
2018-08-13 12:21:25 +01:00
Gareth Rees
5af520e0b0
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
5323dedb45
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
77ed9d9f4f
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
bcb24de010
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
9e5c14a5d1
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
Gareth Rees
3fcea3ce5d
New land functions landinsertsteal and landdeletesteal and unit test.
...
Use LandInsertSteal instead of arenaFreeLandInsertSteal.
Add regression test for job004102.
Copied from Perforce
Change: 194861
2018-08-02 13:16:15 +01:00
Gareth Rees
079b2fded9
Remove the mv compatibility shim and update the manual.
...
Copied from Perforce
Change: 194844
2018-08-01 13:26:33 +01:00
Gareth Rees
c89813834d
Replace deprecatd mv with mvff in test cases.
...
Delete eventrep and replay modules -- these have been broken for a long time.
Copied from Perforce
Change: 194843
2018-08-01 13:10:09 +01:00
Gareth Rees
04a1fd8d37
Introduce a count of the "system" pools (that is, those remaining when arenadestroy is called), so that arena classes can add new ones.
...
Copied from Perforce
Change: 194812
2018-07-31 13:35:22 +01:00
Gareth Rees
20b2cbf95e
Don't assert splayhasupdate(splay) -- otherwise plain cbs does not work.
...
landtest now exercises CBS and CBSZoned as well as CBSFast.
Delete fbmtest (superseded by landtest).
Copied from Perforce
Change: 194807
2018-07-31 09:38:13 +01:00
Gareth Rees
e02bc1a864
Suppress "may be used uninitialized" warnings from gcc.
...
Copied from Perforce
Change: 194775
2018-07-30 11:52:41 +01:00
Gareth Rees
c46a2726bd
Fix compilation for platform ananmv: ssan.c was deleted.
...
Copied from Perforce
Change: 194774
2018-07-30 11:52:00 +01:00
Gareth Rees
f482816cea
Undo change 194718 (merge branch/2016-03-31/page-sparering-elim into the master sources) because of performance regression < https://info.ravenbrook.com/mail/2018/07/29/16-19-19/0/ >
...
Copied from Perforce
Change: 194755
2018-07-29 19:37:31 +01:00
Gareth Rees
b170f5af82
Fix compilation error "variable ‘arena’ set but not used" from gcc 4.8.4 in statistic-less varieties.
...
Copied from Perforce
Change: 194751
2018-07-28 15:31:15 +01:00
David Lovemore
429bca82ae
Fix compile error.
...
Copied from Perforce
Change: 194741
2018-07-26 18:51:30 +01:00
Nick Barnes
6b6c6f253a
Integrate recent monitor improvements from cet custom monitor branch.
...
Copied from Perforce
Change: 194738
2018-07-26 14:40:31 +01:00
Nick Barnes
27f47f5472
Integrate various monitor improvements from cet custom branch. see changelist 194730.
...
Copied from Perforce
Change: 194731
2018-07-24 16:30:30 +01:00