1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00
Commit graph

218 commits

Author SHA1 Message Date
Richard Kistruck
597e16d8d4 Mps br/diag: w3build.bat: add variety.ii, currently = hot+diagnostics
Copied from Perforce
 Change: 162215
 ServerID: perforce.ravenbrook.com
2007-04-27 15:45:25 +01:00
Richard Kistruck
b261b142fd 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
1a9477b2cf 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
2be43e7a67 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
8e3e85cce0 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
8bc0b88894 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
637f7fa818 Mps br/diag: logrun command arg arg arg --- makes log in ./log/blah
Copied from Perforce
 Change: 162209
 ServerID: perforce.ravenbrook.com
2007-04-27 14:21:43 +01:00
Richard Kistruck
c970fa8f24 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
43035a3912 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
afbf0b8ce7 Mps: diag fixes.
Copied from Perforce
 Change: 162163
 ServerID: perforce.ravenbrook.com
2007-04-19 13:02:21 +01:00
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