Commit graph

3218 commits

Author SHA1 Message Date
David Jones
f63d05eaaf Mps: added band field to tracestruct. unused.
Copied from Perforce
 Change: 162717
 ServerID: perforce.ravenbrook.com
2007-07-02 15:43:34 +01:00
David Jones
afe0c9167d Mps: more correct c style in trace.c immediately prior to
editing it.

Copied from Perforce
 Change: 162716
 ServerID: perforce.ravenbrook.com
2007-07-02 15:21:04 +01:00
David Jones
3bd6d4ff98 Mps: "band" added to tracer design.
Copied from Perforce
 Change: 162714
 ServerID: perforce.ravenbrook.com
2007-07-02 14:20:35 +01:00
David Jones
82ec5640f9 Mps: cherry picked test from diag branch. bit tricky:
p4 integ 2007-04-18/diag/code/fin1658a.c 2007-07-02/band/code/fin1658a.c
       p4 integ '2007-04-18/diag/code/comm*mk'@162631,162631 '2007-07-02/band/code/comm*mk'
       (latter integ was dirty.  Effect is to add fin1658a as a target

Copied from Perforce
 Change: 162710
 ServerID: perforce.ravenbrook.com
2007-07-02 12:06:34 +01:00
David Jones
c5fbdb9374 Mps: branching for development.
Copied from Perforce
 Change: 162707
 ServerID: perforce.ravenbrook.com
2007-07-02 11:15:44 +01:00
Richard Kistruck
585b9f5fd7 Mps cstyle: added .space.function.not.
Copied from Perforce
 Change: 162671
 ServerID: perforce.ravenbrook.com
2007-06-27 16:47:50 +01:00
Richard Kistruck
82741e45ff Mps wiki index: (clarify explanation of not-publicly-available symbol)
Copied from Perforce
 Change: 162663
 ServerID: perforce.ravenbrook.com
2007-06-25 16:11:04 +01:00
Richard Kistruck
674c46c848 Mps br/diag: fin1658a: confirms defect described in job001658.
Copied from Perforce
 Change: 162631
 ServerID: perforce.ravenbrook.com
2007-06-21 19:26:00 +01:00
Richard Kistruck
bb72c7075e Mps br/diag: trace.c: (fix w3 build) cast integer character constant to char
Copied from Perforce
 Change: 162630
 ServerID: perforce.ravenbrook.com
2007-06-21 17:23:01 +01:00
Richard Kistruck
c36e2aa4d2 Mps br/diag: new fin1658a.c -- second test for job001658
Copied from Perforce
 Change: 162629
 ServerID: perforce.ravenbrook.com
2007-06-21 17:12:59 +01:00
Richard Kistruck
b2afb5ac61 Mps br/diag: fint1658.c: (from finalcv) (clarify only) improve
hash-def names and comments.

Copied from Perforce
 Change: 162628
 ServerID: perforce.ravenbrook.com
2007-06-21 17:06:13 +01:00
Richard Kistruck
3d17eed32b mps br/diag finalcv: (clarify only) improve hash-def names and comments.
Copied from Perforce
 Change: 162627
 ServerID: perforce.ravenbrook.com
2007-06-21 17:02:28 +01:00
Richard Kistruck
2b59688236 Mps br/diag: start to demonstrate job001658 defect:
Show that after finding one RankFINAL segment, traceFindGrey then 
goes back to RankEXACT segs before tracing the next RankFINAL segment.

Copied from Perforce
 Change: 162626
 ServerID: perforce.ravenbrook.com
2007-06-21 15:59:33 +01:00
Richard Kistruck
20f675d611 mps br/diag: new fint1658.c: (comment) it doesn't work yet!
Copied from Perforce
 Change: 162625
 ServerID: perforce.ravenbrook.com
2007-06-21 14:25:31 +01:00
Richard Kistruck
e89285a293 Mps br/diag: new fint1658.c: test for job001658, finalization promptness
Copied from Perforce
 Change: 162624
 ServerID: perforce.ravenbrook.com
2007-06-21 14:23:03 +01:00
Richard Kistruck
4d22c6b819 mps br/diag: (whitespace only) remove tabs from trace.c
Copied from Perforce
 Change: 162615
 ServerID: perforce.ravenbrook.com
2007-06-20 15:49:07 +01:00
Richard Kistruck
46a9e84c2c Mps br/diag: (whitespace only) remove tabs from poolmrg.c
Copied from Perforce
 Change: 162614
 ServerID: perforce.ravenbrook.com
2007-06-20 15:41:18 +01:00
Richard Kistruck
29b7c88681 Mps br/diag fint1658.c: new finalization test, with guardians on
more than one seg.

Copied from Perforce
 Change: 162612
 ServerID: perforce.ravenbrook.com
2007-06-20 14:58:31 +01:00
Richard Kistruck
3dc07c2722 Mps br/diag finalcv: (comments only) add comments.
Copied from Perforce
 Change: 162611
 ServerID: perforce.ravenbrook.com
2007-06-20 14:44:16 +01:00
Richard Kistruck
4d7b662267 Mps br/diag finalcv and fmtdytst: (comments only) add comments.
Copied from Perforce
 Change: 162608
 ServerID: perforce.ravenbrook.com
2007-06-20 13:42:01 +01:00
Richard Kistruck
c1685ecb6f Mps br/diag finalcv.c: (from master) removing epcore #ifdef that we can't test.
Copied from Perforce
 Change: 162607
 ServerID: perforce.ravenbrook.com
2007-06-20 12:58:55 +01:00
David Jones
da36f6aba1 Mps: clarified reference manual for the finalization bits.
Copied from Perforce
 Change: 162600
 ServerID: perforce.ravenbrook.com
2007-06-19 10:39:38 +01:00
Richard Kistruck
ba3a62ce18 Mps design/cstyle:
Removed .brace.block, because MPS source always uses .brace.otb.
  Remove .indent.elseif because it is obvious (ahem) and showing 
  an example is sufficient.
  New rules for .switch.*: current MPS practice is a mess, so lay
  down a neat new law.
  Add to index of design docs.

Copied from Perforce
 Change: 162562
 ServerID: perforce.ravenbrook.com
2007-06-13 13:55:38 +01:00
Richard Kistruck
495b93f24e Mps design/cstyle: fix html: close tag, escape amp + lt.
Copied from Perforce
 Change: 162549
 ServerID: perforce.ravenbrook.com
2007-06-12 12:01:51 +01:00
David Jones
a040c2487e Mps: updated coding style.
Copied from Perforce
 Change: 162482
 ServerID: perforce.ravenbrook.com
2007-06-04 15:42:02 +01:00
David Jones
658971da56 Mps: htmlized c coding style.
Copied from Perforce
 Change: 162481
 ServerID: perforce.ravenbrook.com
2007-06-04 14:57:50 +01:00
David Jones
e1bb748953 Mps: removing epcore #ifdef that we can't test.
Copied from Perforce
 Change: 162479
 ServerID: perforce.ravenbrook.com
2007-06-04 13:54:14 +01:00
David Jones
00f0093548 Mps: removing misleading parens around a return expression.
Copied from Perforce
 Change: 162475
 ServerID: perforce.ravenbrook.com
2007-06-04 11:08:24 +01:00
Richard Kistruck
09e3df29ca Mps: br/diag/release/mmconfigura-exp-162399.zip
Copied from Perforce
 Change: 162408
 ServerID: perforce.ravenbrook.com
2007-05-24 17:30:29 +01:00
Richard Kistruck
0ab97c1fd7 Mps br/diag/release/mmconfigura-exp-162399.tgz
Copied from Perforce
 Change: 162400
 ServerID: perforce.ravenbrook.com
2007-05-23 17:02:39 +01:00
Richard Kistruck
8708f54c3d Mps br/diag: release exp-162399
Copied from Perforce
 Change: 162399
 ServerID: perforce.ravenbrook.com
2007-05-23 16:56:01 +01:00
Richard Kistruck
de2c83bebe Mps br/diag: diag in tracestart: show arena->chunkserial, and
output why as number (for conciseness).

Copied from Perforce
 Change: 162398
 ServerID: perforce.ravenbrook.com
2007-05-23 16:54:25 +01:00
Richard Kistruck
45038f2c52 Mps br/diag: back to diag_with_printf again.
Copied from Perforce
 Change: 162397
 ServerID: perforce.ravenbrook.com
2007-05-23 16:39:26 +01:00
Richard Kistruck
29706e2b85 Mps br/diag/release/exp-162395
Copied from Perforce
 Change: 162396
 ServerID: perforce.ravenbrook.com
2007-05-23 15:50:19 +01:00
Richard Kistruck
4f9f9477e8 Mps br/diag: release exp-162395:
Switch from DIAG_WITH_PRINTF to _WITH_STREAM_WRITEF.
(Still just from TraceStart).

Copied from Perforce
 Change: 162395
 ServerID: perforce.ravenbrook.com
2007-05-23 15:45:32 +01:00
Richard Kistruck
ef7aba1350 Mps br/diag/release/experimental-@162393
Copied from Perforce
 Change: 162394
 ServerID: perforce.ravenbrook.com
2007-05-23 14:49:13 +01:00
Richard Kistruck
3b402e9189 Mps br/diag: version.c: release = @162393
Copied from Perforce
 Change: 162393
 ServerID: perforce.ravenbrook.com
2007-05-23 14:28:10 +01:00
Richard Kistruck
779bcc1583 Mps br/diag: trace: always diag_printf-out the reason why this
trace started.  This is just to test the DIAG-out mechanism; it 
only affects variety.di.

Copied from Perforce
 Change: 162389
 ServerID: perforce.ravenbrook.com
2007-05-22 17:49:20 +01:00
Richard Kistruck
6749f30dc0 Mps br/diag: diag-out with writef and diag_stream does not work in cet.
Hope to fix in time, but for now I need DIAG-out to work, so switch 
to printf (yes, really, I know, sorry).
Also, only do DIAG-out in variety.di, to avoid damage to .ci.
So for now, remove DIAG_WRITEF and DIAG from arenavm and trace.
To test, add DIAG_PRINTF in trace.

Copied from Perforce
 Change: 162387
 ServerID: perforce.ravenbrook.com
2007-05-21 16:28:50 +01:00
Richard Kistruck
0d0f6def79 Mps br/diag: logrun: append .txt to logfilename; improve comments.
Copied from Perforce
 Change: 162385
 ServerID: perforce.ravenbrook.com
2007-05-21 16:00:38 +01:00
Richard Kistruck
862a02ef1a Mps br/diag: amcss.c: revert previous change
(make initial-size to mps_arena_create comically small,
   to prompt VMChunkCreates and occasional MPS_RESERVE_BLOCK: 7's, ie.
   commit-limit),
   so mps_arena_create asks for 2*testArenaSIZE as before.

Copied from Perforce
 Change: 162384
 ServerID: perforce.ravenbrook.com
2007-05-21 15:45:12 +01:00
Richard Kistruck
fe7136b27c Mps br/diag: w3build: rmdir the release directory, before creating and populating it.
Copied from Perforce
 Change: 162362
 ServerID: perforce.ravenbrook.com
2007-05-16 15:44:47 +01:00
Richard Kistruck
6419d79008 Mps br/diag: w3build.bat: only we, hi, di, ci, and rearrange to reduce interleaving of different deliverables.
Copied from Perforce
 Change: 162244
 ServerID: perforce.ravenbrook.com
2007-05-01 12:31:22 +01:00
Richard Kistruck
8ba4b5c9c5 Mps wiki poolamc-segstate: show both fwdbuf-survives transitions as [goto].
Describe three roles for a segment.

Copied from Perforce
 Change: 162239
 ServerID: perforce.ravenbrook.com
2007-04-30 16:28:01 +01:00
Richard Kistruck
2fa07909db Mps wiki poolamc: link to seg-state diagram.
Copied from Perforce
 Change: 162235
 ServerID: perforce.ravenbrook.com
2007-04-30 15:24:15 +01:00
Richard Kistruck
5c41921474 Mps br/diag: diag-out text + arenadescribe every vmarenaextend,
(instead of every VMChunkCreate, which includes when making initial arena)

Copied from Perforce
 Change: 162224
 ServerID: perforce.ravenbrook.com
2007-04-27 17:23:21 +01:00
Richard Kistruck
637aae736d Mps br/diag: w3build.bat: drop variety.ii, add variety.di = hot+diagnostics
Copied from Perforce
 Change: 162223
 ServerID: perforce.ravenbrook.com
2007-04-27 16:52:30 +01:00
Richard Kistruck
bd09ac3c18 Mps br/diag: new variety.di: hot+diagnostics
Copied from Perforce
 Change: 162222
 ServerID: perforce.ravenbrook.com
2007-04-27 16:46:51 +01:00
Richard Kistruck
d09f09f787 Mps br/diag: backout change to variety.ii:
(was now has DIAGNOSTICS, and no logging;
now: back to CONFIG_LOG, and no diag)

Copied from Perforce
 Change: 162221
 ServerID: perforce.ravenbrook.com
2007-04-27 16:33:38 +01:00
Richard Kistruck
431857c682 mps br/diag: backout change to variety.ii:
(was now has DIAGNOSTICS, and no logging;
  now: back to CONFIG_LOG, and no diag)

Copied from Perforce
 Change: 162220
 ServerID: perforce.ravenbrook.com
2007-04-27 16:28:24 +01:00