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
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
Richard Kistruck
db8f427ecf
Mps br/unfixed-summary: (debug only): drop 5x bufferdescribes
...
Copied from Perforce
Change: 161980
ServerID: perforce.ravenbrook.com
2007-03-22 14:10:49 +00:00
Richard Kistruck
b6c86be8d4
Mps br/unfixed-summary: (debug only): on entering et (emergency tracing),
...
SegDescribe the seg being scanned, and the seg being Fixed (ie. holding
the referent object that we have just failed to forward).
Copied from Perforce
Change: 161979
ServerID: perforce.ravenbrook.com
2007-03-22 14:08:57 +00:00
Richard Kistruck
70755f11ff
Mps br/unfixed-summary: good: amcsegcheck: nailboard onlyif segnailed;
...
AMCSegDescribe now splits Mobile vs. Stuck, clearer Map symbols, add key.
Copied from Perforce
Change: 161978
ServerID: perforce.ravenbrook.com
2007-03-22 14:02:14 +00:00
Richard Kistruck
be4335a778
Mps br/unfixed-summary: good: bufferdescribe now interprets buffer->mode for you
...
Copied from Perforce
Change: 161977
ServerID: perforce.ravenbrook.com
2007-03-22 13:52:40 +00:00
Richard Kistruck
a3fb98af2e
Mps branch unfixed-summary: better segdescribe:
...
all segs: say "buffer: NULL" if it is (rather than saying nothing)
AMC: correct SEG_SUPERCLASS, so we see GCSeg fields, and say if there's a nailboard.
Copied from Perforce
Change: 161973
ServerID: perforce.ravenbrook.com
2007-03-21 17:35:45 +00:00
Richard Kistruck
038a4d823f
Mps: if poolfix fails, aver that *refio is unchanged (from branch/unfixed-summary)
...
Copied from Perforce
Change: 161969
ServerID: perforce.ravenbrook.com
2007-03-21 14:36:37 +00:00
Richard Kistruck
f8571df01a
Mps: (xcpp) replacing protxc.c with protix.c
...
Copied from Perforce
Change: 161967
ServerID: perforce.ravenbrook.com
2007-03-21 14:03:40 +00:00
Richard Kistruck
4329f8b9a5
Mps branch unfixed-summary: if poolfix fails, aver that *refio is unchanged.
...
Copied from Perforce
Change: 161966
ServerID: perforce.ravenbrook.com
2007-03-21 13:34:44 +00:00
Richard Kistruck
91d7861050
Mps branch unfixed-summary: failure is during emergency tracing
...
Copied from Perforce
Change: 161949
ServerID: perforce.ravenbrook.com
2007-03-19 14:41:11 +00:00
Richard Kistruck
cc94c7bbe7
Mps branch unfixed-summary: leave in aver to catch fix of exact
...
ref into buffer (if my sums are correct)
Copied from Perforce
Change: 161948
ServerID: perforce.ravenbrook.com
2007-03-19 13:56:37 +00:00
David Jones
31ab5e452e
Mps: more comments on accessread versus prot_write.
...
Copied from Perforce
Change: 161919
ServerID: perforce.ravenbrook.com
2007-03-12 12:53:54 +00:00
David Jones
2708207bdf
Mps: replacing vmfr.c with vmix.c
...
Copied from Perforce
Change: 161918
ServerID: perforce.ravenbrook.com
2007-03-12 12:17:50 +00:00
David Jones
6f40b456c7
Mps: replaced vmxc.c with vmix.c
...
Copied from Perforce
Change: 161917
ServerID: perforce.ravenbrook.com
2007-03-12 12:16:18 +00:00
David Jones
9e4bb70157
Mps: replaced lockfr.c with lockix.c
...
Copied from Perforce
Change: 161916
ServerID: perforce.ravenbrook.com
2007-03-12 11:01:35 +00:00
David Jones
4751ce3d3a
Mps: locks for darwin (os x).
...
Copied from Perforce
Change: 161915
ServerID: perforce.ravenbrook.com
2007-03-12 09:58:44 +00:00
David Jones
01a0de3ecf
Mps: removing protli.c
...
Copied from Perforce
Change: 161909
ServerID: perforce.ravenbrook.com
2007-03-09 14:13:53 +00:00
David Jones
9287ea750e
Mps: using protix on linux. linux spotted a bug / historical blemish.
...
Copied from Perforce
Change: 161908
ServerID: perforce.ravenbrook.com
2007-03-09 14:07:49 +00:00
David Jones
341abc7ded
Mps: fixing linux builds. recent linuxes are more careful with their open-sesame magic.
...
Copied from Perforce
Change: 161907
ServerID: perforce.ravenbrook.com
2007-03-09 12:31:34 +00:00
David Jones
b4662a2f61
Mps: using protix.c and protsgix.c on freebsd.
...
Copied from Perforce
Change: 161906
ServerID: perforce.ravenbrook.com
2007-03-09 10:09:48 +00:00
David Jones
bfc14882e8
Mps: typo in config.h was breaking freebsd builds.
...
Copied from Perforce
Change: 161905
ServerID: perforce.ravenbrook.com
2007-03-09 09:35:31 +00:00
David Jones
d70be295ee
Mps: protection for intel darwin. hopefully cross-platform.
...
Copied from Perforce
Change: 161902
ServerID: perforce.ravenbrook.com
2007-03-08 21:50:28 +00:00
Richard Kistruck
7cae9d1ccd
Mps branch unfixed-summary: tracefix checks for exact refs to neo; requires new segtrivbuffer[seg.c]
...
Copied from Perforce
Change: 161889
ServerID: perforce.ravenbrook.com
2007-03-05 19:27:45 +00:00
Richard Kistruck
2655d9aabb
Mps branch unfixed-summary: sprinkle printfs; integ from master
...
Copied from Perforce
Change: 161881
ServerID: perforce.ravenbrook.com
2007-03-02 13:11:29 +00:00
Richard Kistruck
19cd50a212
Mps branch unfixed-summary: update from master
...
Copied from Perforce
Change: 161880
ServerID: perforce.ravenbrook.com
2007-03-02 13:03:26 +00:00
David Jones
0c312472eb
Mps: enabling reg scanner for mpsicv on mactel.
...
Copied from Perforce
Change: 161877
ServerID: perforce.ravenbrook.com
2007-03-01 19:49:29 +00:00
David Jones
181c477ce7
Mps: renamed file, but forgot to change tags.
...
Copied from Perforce
Change: 161876
ServerID: perforce.ravenbrook.com
2007-03-01 19:35:38 +00:00
David Jones
6b2b72f070
Mps: untested! removing linux-specific stack scanner and making it share with freebsd/darwin.
...
Copied from Perforce
Change: 161875
ServerID: perforce.ravenbrook.com
2007-03-01 19:33:19 +00:00
David Jones
07a873410f
Mps: using common stackscan code for freebsd/darwin.
...
Copied from Perforce
Change: 161874
ServerID: perforce.ravenbrook.com
2007-03-01 19:30:53 +00:00
David Jones
7046c28431
Mps: stack scanner for darwin (os x).
...
Copied from Perforce
Change: 161873
ServerID: perforce.ravenbrook.com
2007-03-01 19:14:47 +00:00
David Jones
6dcbe583ce
Mps: no register scanner on mactel for mpsicv.
...
Copied from Perforce
Change: 161872
ServerID: perforce.ravenbrook.com
2007-03-01 18:56:07 +00:00
David Jones
9d1a264ef5
Mps: cherrying picking change from version/1.107, cross
...
compiling on macs.
Copied from Perforce
Change: 161867
ServerID: perforce.ravenbrook.com
2007-03-01 17:23:50 +00:00
David Jones
ef2d05e17b
Mps: allow powerpc builds to be built on intel macs and
...
vice-versa. Explicitly mentions the architecture in the makefile.
Copied from Perforce
Change: 161866
ServerID: perforce.ravenbrook.com
2007-03-01 17:19:37 +00:00
David Jones
a2c5d462a4
Mps: cherry-picking integ from master.
...
Copied from Perforce
Change: 161865
ServerID: perforce.ravenbrook.com
2007-03-01 16:52:52 +00:00
David Jones
e12eed6918
Mps: fixing build for freebsd 5.5. by fixing include files.
...
Copied from Perforce
Change: 161793
ServerID: perforce.ravenbrook.com
2007-02-21 11:47:49 +00:00
David Jones
24ccaf96c0
Mps: typo in comment.
...
Copied from Perforce
Change: 161781
ServerID: perforce.ravenbrook.com
2007-02-20 10:01:27 +00:00
Richard Brooksby
a3d211157f
Correcting function declaration parameter list to make it valid c.
...
Copied from Perforce
Change: 161766
ServerID: perforce.ravenbrook.com
2007-02-16 15:06:17 +00:00
Richard Kistruck
41f51363ab
Mps unfixed-summary branch: trivial integs from master
...
Copied from Perforce
Change: 161484
ServerID: perforce.ravenbrook.com
2007-01-16 14:13:52 +00:00
Richard Kistruck
8d0eb092d2
Mps poolamc.c: (source only) clarify that commented-out code in amcwhiten is merely a comment; remove tabs.
...
Copied from Perforce
Change: 161483
ServerID: perforce.ravenbrook.com
2007-01-16 14:04:17 +00:00
Richard Kistruck
f784088915
Mps source that should be text+k (not text) in perforce:
...
The dollar-i-d-dollar text in these files (if it was present) was lying.
Copied from Perforce
Change: 161451
ServerID: perforce.ravenbrook.com
2007-01-10 19:22:46 +00:00