David Jones
feecde4aaa
Added diag and diag_writef
...
Copied from Perforce
Change: 162160
ServerID: perforce.ravenbrook.com
2007-04-19 11:32:08 +01:00
Richard Kistruck
71957d32cc
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
1772f845d0
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
bfe1a99fcf
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
70eefd4387
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
10a3758342
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
5e4636ec8b
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
bf36833d79
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
f1c19b5746
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
8bf324c552
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
13d6a785d2
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
1c7dc02bda
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
84f8809886
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
d46ebba46c
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
7ca4179235
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
6f9eea08de
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
42ae255775
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
5506e97d39
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
fa6f33d5e5
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
75bc16ac8e
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
9ea3e4e3e6
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
e0d7999c16
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
ea02dac121
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
b15e62f850
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
bb40c08717
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
5aed1c1faf
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
ceb7dc8aae
Mps: removing protli.c
...
Copied from Perforce
Change: 161909
ServerID: perforce.ravenbrook.com
2007-03-09 14:13:53 +00:00
David Jones
e6db2eb286
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
a8888685ea
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
90b7369aa4
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
8ac9a23ede
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
76e9f4ae06
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
f0b7f6c16a
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
0363f43c7a
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
58157766b8
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
b44f32fa08
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
b884cc07c6
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
6cd420f9a6
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
802a7124a6
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
671f9ae3ee
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
311dab4768
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
a1f924d66e
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
42be9d525a
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
6221ca9e9f
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
5e190aa87c
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
73fce693cc
Mps: typo in comment.
...
Copied from Perforce
Change: 161781
ServerID: perforce.ravenbrook.com
2007-02-20 10:01:27 +00:00
Richard Brooksby
dac3c7c638
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
fecc15e861
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
9055b22776
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
18311819aa
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