1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 08:20:41 -08:00
Commit graph

3160 commits

Author SHA1 Message Date
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
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
14c91ea521 Mps wiki describe: describe methods and inheritance; put into index.
Copied from Perforce
 Change: 162201
 ServerID: perforce.ravenbrook.com
2007-04-26 18:11:01 +01:00
Richard Kistruck
7fa400085e Mps wiki describe: make from template
Copied from Perforce
 Change: 162200
 ServerID: perforce.ravenbrook.com
2007-04-26 17:56:38 +01:00
Richard Kistruck
15ecdc0688 Mps wiki index: new categories on this index page.
Copied from Perforce
 Change: 162199
 ServerID: perforce.ravenbrook.com
2007-04-26 16:37:03 +01:00
Richard Kistruck
4860bc1077 Mps wiki timeline: 1998-11-10: sunset on segments
Copied from Perforce
 Change: 162198
 ServerID: perforce.ravenbrook.com
2007-04-26 16:29:42 +01:00
Richard Kistruck
2c09e0a6a7 Mps design/locus: add guide: clarify + more on why locus affects placement, which may be carefully tuned.
Copied from Perforce
 Change: 162187
 ServerID: perforce.ravenbrook.com
2007-04-24 17:32:04 +01:00
Richard Kistruck
f003992366 Mps design/locus: add guide: manage arena address-space, why, discover layout.
Copied from Perforce
 Change: 162186
 ServerID: perforce.ravenbrook.com
2007-04-24 14:02:49 +01:00
Richard Kistruck
1167caaacb mps design template: make it easier to paste on top of exisitng design
Copied from Perforce
 Change: 162184
 ServerID: perforce.ravenbrook.com
2007-04-24 10:02:24 +01:00
Richard Kistruck
23fb3c8b1b Mps design template: make it easier to paste on top of exisitng design
Copied from Perforce
 Change: 162183
 ServerID: perforce.ravenbrook.com
2007-04-24 09:55:44 +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
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
David Jones
b0d58fabe9 Mps: added doc for mps_class_mv
Copied from Perforce
 Change: 162128
 ServerID: perforce.ravenbrook.com
2007-04-13 13:44:35 +01:00
Richard Kistruck
0ee4ff86b6 Mps wiki poolamc-segstate.txt: change diagram to accord with
conjecture .stat.fwdbuf-survives: a forwarding buffer can survive 
traceStart and flip while remaining attached to the same segment.  
(Previously, the diagram implicitly used ".simplify.detach-all-fwdbuf" :-).
State some truths, conjectures, and some simplifications-that-may-be-lies.

Copied from Perforce
 Change: 162014
 ServerID: perforce.ravenbrook.com
2007-03-27 13:51:05 +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
a66d687dc7 Mps wiki poolamc-segstate: put diagram first, key afterwards.
Copied from Perforce
 Change: 161993
 ServerID: perforce.ravenbrook.com
2007-03-23 12:22:28 +00:00
Richard Kistruck
697ae22a2f Mps wiki poolamc-segstate: complete note on stale mutator buffers.
Fixes don't change summary, but forwarding does in [1c+].

Copied from Perforce
 Change: 161991
 ServerID: perforce.ravenbrook.com
2007-03-23 11:38:09 +00:00
Richard Kistruck
bef92d9cf8 Mps wiki poolamc-segstate: sg is sgf; explicitly show the s(stalo) everywhere;
analyse discovery and reencounter fixes.

Copied from Perforce
 Change: 161990
 ServerID: perforce.ravenbrook.com
2007-03-23 10:58:10 +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
cd26839aaf Mps design/buffer: create guide (only one glossary item in it so far)
Copied from Perforce
 Change: 161986
 ServerID: perforce.ravenbrook.com
2007-03-22 16:20:47 +00:00
Richard Kistruck
9245f4a35b mps design: template-with-guide.html
Copied from Perforce
 Change: 161985
 ServerID: perforce.ravenbrook.com
2007-03-22 16:12:30 +00:00
Richard Kistruck
0e3f0cfb4e Mps design: template-with-guide.html
Copied from Perforce
 Change: 161984
 ServerID: perforce.ravenbrook.com
2007-03-22 16:04:23 +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
3bf30cfc2b Mps wiki: poolamc-segstate diagram
Copied from Perforce
 Change: 161962
 ServerID: perforce.ravenbrook.com
2007-03-20 11:56:41 +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