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

2844 commits

Author SHA1 Message Date
Richard Kistruck
fb7d9768b8 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
5677fd8d9d 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
55a1379838 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
798f8b14fc 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
8d8b674765 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
22b7aa1017 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
56a68939f4 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
800ad828ea 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
ae7db28647 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
a3c3edf4f6 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
919cb4e84c 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
f3396d6f25 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
b564098f6f 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
3618561d90 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
2e979e4340 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
ac1f4fe729 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
dad98183fc 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
6c68e81099 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
5189c6c12e 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
079c82256e 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
e3c37ff15e 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
050b0a7165 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
4c017784e2 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
17f1066b27 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
b991aab81f 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
6214719361 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
Richard Kistruck
74d3de9ff8 Mps br/diag: (fix w3*mv builds): add <diag> so diag.c gets compiled.
(Part of this was submitted on its own as Changelist 162218 -- oops).

Copied from Perforce
 Change: 162219
 ServerID: perforce.ravenbrook.com
2007-04-27 16:01:17 +01:00
Richard Kistruck
3e1691b06f Copied from Perforce
Change: 162218
 ServerID: perforce.ravenbrook.com
2007-04-27 15:58:55 +01:00
Richard Kistruck
da457c084a Mps br/diag: arenavm.c: fix unused var super in vmarenadescribe
Copied from Perforce
 Change: 162217
 ServerID: perforce.ravenbrook.com
2007-04-27 15:51:31 +01:00
Richard Kistruck
f79512cbf9 Mps br/diag: arenavm.c: fix unused var super in vmarenadescribe
Copied from Perforce
 Change: 162216
 ServerID: perforce.ravenbrook.com
2007-04-27 15:49:45 +01:00
Richard Kistruck
51ae6e346f Mps br/diag: variety.ii: now has diagnostics, and no logging (pro tem);
mpm.h: DIAG() et al under control of DIAGNOSTICS;
diag.c: under control of DIAGNOSTICS, plus add header and copyright.

Copied from Perforce
 Change: 162214
 ServerID: perforce.ravenbrook.com
2007-04-27 15:37:16 +01:00
Richard Kistruck
a31f4e9938 Mps br/diag: pass why reason down to tracestart.
Also: DIAG-out TraceStart reason, and -- if a non-monor collection -- 
 DIAG-out an ArenaDescribe.

Copied from Perforce
 Change: 162213
 ServerID: perforce.ravenbrook.com
2007-04-27 15:04:08 +01:00
Richard Kistruck
646df26578 Mps br/diag: make vmarenadescribe show zones.
arena.c: turn off call from ArenaDescribe to GlobalsDescribe, 
 because it outputs too much stuff (perhaps this change should be 
 reverted later).

Copied from Perforce
 Change: 162212
 ServerID: perforce.ravenbrook.com
2007-04-27 15:02:45 +01:00
Richard Kistruck
dba0d98034 Mps br/diag: (not for release until diag is off in wi/we):
arenavm.c: add DIAG(ArenaDescribe) in VMChunkCreate;
amcss.c: make initial-size to mps_arena_create comically small, 
 to prompt VMChunkCreates and occasional MPS_RESERVE_BLOCK: 7's
 (== commit-limit, which is ok; probably)

Copied from Perforce
 Change: 162211
 ServerID: perforce.ravenbrook.com
2007-04-27 14:27:40 +01:00
Richard Kistruck
148513250e Mps br/diag: vmarenadescribe, plus comment in arena.c: .describe.triv.dont-upcall
Copied from Perforce
 Change: 162210
 ServerID: perforce.ravenbrook.com
2007-04-27 14:24:14 +01:00
Richard Kistruck
d8e982ef3d Mps buffer.c: cast character-constant expression to (char), to avoid warning from silly w3i3mv compiler:
.\buffer.c(155) : warning C4244: '=' : conversion from 'const int ' to 'char ', possible loss of data

Copied from Perforce
 Change: 162169
 ServerID: perforce.ravenbrook.com
2007-04-19 18:13:52 +01:00
Richard Kistruck
b25a0401c8 Mps buffer.c: cast character-constant expression to (char), to avoid warning from silly w3i3mv compiler:
.\buffer.c(155) : warning C4244: '=' : conversion from 'const int ' to 'char ', possible loss of data

Copied from Perforce
 Change: 162167
 ServerID: perforce.ravenbrook.com
2007-04-19 17:49:56 +01:00
David Jones
c165d3d179 Mps: diag fixes.
Copied from Perforce
 Change: 162163
 ServerID: perforce.ravenbrook.com
2007-04-19 13:02:21 +01:00
David Jones
c2e79477d3 Added diag and diag_writef
Copied from Perforce
 Change: 162160
 ServerID: perforce.ravenbrook.com
2007-04-19 11:32:08 +01:00
David Jones
1d2ccefa97 Mps: branching for development.
Copied from Perforce
 Change: 162155
 ServerID: perforce.ravenbrook.com
2007-04-18 17:12:16 +01:00
Richard Kistruck
e1cfb1cca9 mps: (from branch unfixed-summary) 161987, 162000, 162001:
(plus some edits: integrations were not not verbatim)
   poolamc.c: Count the loops of amcScanNailed. 
    If amcScanNailed looped, ss.unfixedSummary is
    not accurate, so move all of the ScanStateSummary into 
    ss.fixedSumamry, so that trace.c's .verify.segsummary
    does not erroneously fail.
    This fixes job001548.
   trace.c: (comment) explain .verify.segsummary
   poolamc.c: AMCSegSketch: four character sketch of seg-state

Copied from Perforce
 Change: 162150
 ServerID: perforce.ravenbrook.com
2007-04-18 14:02:07 +01:00
Richard Kistruck
a91835fe0c Mps br/unfixed-summary: amcscannailed: show how summaries change
when amcScanNailed loops.  Highlight cases that would (previously) 
have failed .verify.segsummary.  Count the loops.  Show whether it 
wasTotal.
AMCSegSketch: correct it to show stalo and neo the right way round.

Copied from Perforce
 Change: 162001
 ServerID: perforce.ravenbrook.com
2007-03-25 17:05:50 +01:00
Richard Kistruck
1c411f17a8 Mps br/unfixed-summary: if amcscannailed looped, ss.unfixedsummary is
not accurate, so move all of the ScanStateSummary into ss.fixedSumamry, 
so that <impl/trace/#verify.segsummary> does not erroneously fail.
See also log file a2nNailedLoopReset.txt.

Copied from Perforce
 Change: 162000
 ServerID: perforce.ravenbrook.com
2007-03-25 15:59:05 +01:00
Richard Kistruck
c00abc3574 Mps br/unfixed-sumamry: calling amcsegallobjsummary() before amcscaninner
shows summary is CORRECT.  So: discrepancy between refs seen by 
AMCSegAllobjSummary() and those seen by AMCScan() of boarded segment.

Copied from Perforce
 Change: 161996
 ServerID: perforce.ravenbrook.com
2007-03-23 17:30:55 +00:00
Richard Kistruck
3b8f618f6f Mps br/unfixed-sumamry: amcsegallobjsummary() -- runs format->scan to
find out what the summary really is, and check against SegSummary().
Initially, check this before each AMCScan.  This check does *not* fire 
when the unfixed assert does; see new a2kAllobjs.txt logfile.

Copied from Perforce
 Change: 161995
 ServerID: perforce.ravenbrook.com
2007-03-23 17:11:32 +00:00
Richard Kistruck
dd46ee949f Mps br/unfixed-summary: comment-out the "what caused et?" segdescribes.
Save sketches (abzSketchTotal and abzSketchTotalPrev) in amcseg, 
which get Described when unfixedSummary is wrong: let's see whether 
there's a pattern to the way the previous summary was created.

Copied from Perforce
 Change: 161994
 ServerID: perforce.ravenbrook.com
2007-03-23 15:30:08 +00:00
Richard Kistruck
64e77c0408 Mps br/unfixed-summary: amcsegsketch: four character sketch of seg-state
Copied from Perforce
 Change: 161987
 ServerID: perforce.ravenbrook.com
2007-03-22 16:51:27 +00:00
Richard Kistruck
fdbf81838f Mps: (from branch unfixed-summary) 161973, 161977, 161978, 161982:
seg.c: SegDescribe: say "buffer: NULL" if it is (rather than saying nothing).
buffer.c: BufferDescribe: now interprets buffer->mode for you.
poolamc.c: amcSegCheck: check Nailboard present onlyif SegNailed for some trace;
 AMCSegDescribe: correct SEG_SUPERCLASS (so we see GCSeg fields); 
  say whether seg is Mobile, Boarded (there's a nailboard), or Stuck;
  clearer Map symbols, and print a key for them.

Copied from Perforce
 Change: 161983
 ServerID: perforce.ravenbrook.com
2007-03-22 15:23:20 +00:00
Richard Kistruck
b6d776a336 Mps br/unfixed-summary: good: tidy bufferdescribe and amcsegdescribe.
Copied from Perforce
 Change: 161982
 ServerID: perforce.ravenbrook.com
2007-03-22 14:57:29 +00:00
David Jones
882a7893e4 Mps: removing "freebsd" from cut-and-paste mistake.
Copied from Perforce
 Change: 161981
 ServerID: perforce.ravenbrook.com
2007-03-22 14:21:41 +00:00