1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
Commit graph

3380 commits

Author SHA1 Message Date
Richard Kistruck
a20656ba40 Mps master (from br/awldiag): tool/mpsclasses.py: show the mps class hierarchy
A simple parser that finds DEFINE_CLASS (et al) macros, builds
the MPS class hierarchy, and prints the tree to stdout.

Copied from Perforce
 Change: 163809
 ServerID: perforce.ravenbrook.com
2008-01-24 15:25:20 +00:00
Richard Kistruck
d8767d5e7a Mps master/procedure: add release-experimental procedure.
Copied from Perforce
 Change: 163719
 ServerID: perforce.ravenbrook.com
2008-01-07 18:07:45 +00:00
Richard Kistruck
02128913fb Mps master: proc/release-experimental: create (integ from release-build)
Copied from Perforce
 Change: 163718
 ServerID: perforce.ravenbrook.com
2008-01-07 16:15:06 +00:00
Richard Kistruck
7151c741dc Mps master: proc/release-build: release changelevel was in issue.cgi, now in data.py
Copied from Perforce
 Change: 163717
 ServerID: perforce.ravenbrook.com
2008-01-07 16:11:40 +00:00
Richard Kistruck
defae96db5 Mps master: build-notes: note re ppc mac compiler flags (job001714)
Copied from Perforce
 Change: 163680
 ServerID: perforce.ravenbrook.com
2007-12-21 18:43:06 +00:00
Richard Kistruck
110b66a227 Mps master: version-name and release notes for release 1.108.1
Copied from Perforce
 Change: 163676
 ServerID: perforce.ravenbrook.com
2007-12-21 18:16:34 +00:00
Richard Kistruck
d11236e629 Mps master (from br/vmarenagrow): arenavm.c:
- if VMChunkCreate fails, fall back: re-try with a smaller request;
  - tidy up code to choose chunk size, with a consistent, smaller 
    (10%) .vmchunk.overhead estimate;
  - add diag.
arena.c: ArenaDescribe() now reports total arena reserved and committed

Copied from Perforce
 Change: 163675
 ServerID: perforce.ravenbrook.com
2007-12-21 17:23:31 +00:00
Richard Kistruck
dea6f24b92 Mps master (from br/vmarenagrow): empty integrate (version name of
experimental release)

Copied from Perforce
 Change: 163674
 ServerID: perforce.ravenbrook.com
2007-12-21 17:21:09 +00:00
Richard Kistruck
6c560fb6a6 Mps master (from br/vmarenagrow): amcss.c -- empty integrate
Copied from Perforce
 Change: 163673
 ServerID: perforce.ravenbrook.com
2007-12-21 17:20:09 +00:00
Richard Kistruck
f5b59d2a82 Mps exp-163669
Copied from Perforce
 Change: 163669
 ServerID: perforce.ravenbrook.com
2007-12-21 15:36:58 +00:00
Richard Kistruck
96407dd039 mps br/vmarenagrow: arenavm.c: vmchunkcreate() -- remove
deliberately-failing test code.

Copied from Perforce
 Change: 163668
 ServerID: perforce.ravenbrook.com
2007-12-21 13:15:06 +00:00
Richard Kistruck
441111bb2f mps br/vmarenagrow: arenavm.c: vmarenaextend() tidy up code to
choose chunk size, with a consistent, smaller (10%) .vmchunk.overhead 
 estimate.  Tidy diag and comments.

Copied from Perforce
 Change: 163667
 ServerID: perforce.ravenbrook.com
2007-12-21 13:08:37 +00:00
Richard Kistruck
475754161a mps br/vmarenagrow: arenavm.c: vmarenaextend() will:
a) choose a better chunkSize;
   b) fallback to smaller sizes if request fails.
 *** WARNING ***
 VMChunkCreate() has test-code that deliberately fails requests,
 for testing this functionality.

Copied from Perforce
 Change: 163665
 ServerID: perforce.ravenbrook.com
2007-12-20 18:00:50 +00:00
Richard Kistruck
2b625511be mps br/vmarenagrow: amcss.c: mps_arena_create /4 => too-small
arena, to test arena growth.  Also, make testArenaSIZE a round 
 number (2^20 not 10^3*2^10).

Copied from Perforce
 Change: 163664
 ServerID: perforce.ravenbrook.com
2007-12-20 17:23:26 +00:00
Richard Kistruck
62faafe4fd Mps br/vmarenagrow: arena.c: arenadescribe() now reports total arena
reserved and committed (only the two most important things to know!).
Transgression: This entails calling the ArenaReserved function.

Copied from Perforce
 Change: 163663
 ServerID: perforce.ravenbrook.com
2007-12-20 17:16:43 +00:00
Richard Kistruck
92a4109067 Mps br/vmarenagrow: arena.c: tabs
Copied from Perforce
 Change: 163658
 ServerID: perforce.ravenbrook.com
2007-12-19 18:48:27 +00:00
Richard Kistruck
97b5a60e87 Mps: create br/vmarenagrow
Copied from Perforce
 Change: 163656
 ServerID: perforce.ravenbrook.com
2007-12-19 17:47:11 +00:00
Richard Kistruck
91648d6e01 Mps br/awldiag: tool/mpsclasses.py: show the mps class hierarchy
A simple parser that finds DEFINE_CLASS (et al) macros, builds 
the MPS class hierarchy, and prints the tree to stdout.

Copied from Perforce
 Change: 163588
 ServerID: perforce.ravenbrook.com
2007-12-04 18:50:11 +00:00
Richard Kistruck
95b2ce1858 Mps br/awldiag: des/poolawl: add guide; preserve initial design.
Copied from Perforce
 Change: 163424
 ServerID: perforce.ravenbrook.com
2007-10-24 16:44:19 +01:00
Richard Kistruck
df4387b93b Mps awldiag: (comments only) clarify arenaaccess, accessset, and awlsegalloc
Copied from Perforce
 Change: 163342
 ServerID: perforce.ravenbrook.com
2007-10-03 18:30:17 +01:00
Richard Kistruck
48db9d0dd8 Mps wiki: access: choosing approach
Copied from Perforce
 Change: 163338
 ServerID: perforce.ravenbrook.com
2007-10-03 15:46:27 +01:00
Richard Kistruck
01b7c710aa mps wiki: access: shield != barrier: use correct terminology throughout.
Copied from Perforce
 Change: 163333
 ServerID: perforce.ravenbrook.com
2007-10-03 13:13:14 +01:00
Richard Kistruck
4e53832568 mps wiki: access: more on which barriers were hit?
Copied from Perforce
 Change: 163319
 ServerID: perforce.ravenbrook.com
2007-10-01 18:45:18 +01:00
Richard Kistruck
5554c629e8 mps wiki: access: correction to which barriers were hit?: willbeaccessed is not necessarily smaller than mustgetlowered
Copied from Perforce
 Change: 163316
 ServerID: perforce.ravenbrook.com
2007-10-01 15:34:09 +01:00
Richard Kistruck
a8de4f382b Mps wiki: access: which barriers were hit?
Copied from Perforce
 Change: 163315
 ServerID: perforce.ravenbrook.com
2007-10-01 14:44:18 +01:00
Richard Kistruck
b4ea03e341 Mps wiki: access.html: introduction about handling access / barrier hit
Copied from Perforce
 Change: 163309
 ServerID: perforce.ravenbrook.com
2007-09-30 16:04:35 +01:00
Richard Kistruck
225c8ad76b mps br/awldiag (from master) poolabs: tabs! (whitespace only: replace tab with spaces)
Copied from Perforce
 Change: 163304
 ServerID: perforce.ravenbrook.com
2007-09-28 16:57:19 +01:00
Richard Kistruck
e5034a17fb Mps poolabs: tabs! (whitespace only: replace tab with spaces)
Copied from Perforce
 Change: 163303
 ServerID: perforce.ravenbrook.com
2007-09-28 08:35:57 +01:00
Richard Kistruck
65d6babb81 Mps wiki: access.html: what happens when the mutator hits a (read or write) barrier?
index.html: add new Article

Copied from Perforce
 Change: 163299
 ServerID: perforce.ravenbrook.com
2007-09-27 19:39:59 +01:00
Richard Kistruck
71002ffac1 Mps wiki: access.html (integ from template.html)
Copied from Perforce
 Change: 163298
 ServerID: perforce.ravenbrook.com
2007-09-27 19:10:20 +01:00
Richard Kistruck
8811cbc319 Mps br/awldiag: (not for master) (integ from br/diagtag)
trace.c: TraceStart: for all pool->class->name == "AWL", PoolDescribe.
config.h: huge DIAG_BUFFER_SIZE (440 screenfuls!)
diag.c: personal RulesGlobal: just the bits of AWL PoolDescribe that I want.

Copied from Perforce
 Change: 163297
 ServerID: perforce.ravenbrook.com
2007-09-27 18:18:04 +01:00
Richard Kistruck
5c11d0c0a1 Mps br/awldiag: (integ from br/diagtag) create awldescribe() [incomplete].
Print the following from awl->stats: goodScans, badScans, savedScans, savedAccesses, declined.

Copied from Perforce
 Change: 163296
 ServerID: perforce.ravenbrook.com
2007-09-27 18:07:07 +01:00
Richard Kistruck
9a143fdd0b Mps br/awldiag: branch from master
Investigating poolawl.c, improving diagnostic output.

Copied from Perforce
 Change: 163294
 ServerID: perforce.ravenbrook.com
2007-09-27 17:53:16 +01:00
Richard Kistruck
375c6fd064 Mps master: xcppgc.gmk remove outdated and unnecessary compiler flags.
Copied from Perforce
 Change: 163293
 ServerID: perforce.ravenbrook.com
2007-09-27 14:26:43 +01:00
Richard Kistruck
fe9b908f57 Mps master: xcppgc.cmk (comments only) add explanation of various
compiler flags added under job000601.

Copied from Perforce
 Change: 163287
 ServerID: perforce.ravenbrook.com
2007-09-26 15:44:42 +01:00
David Jones
d6d6a11ef7 Mps: adding uses of diag_decl so that variety=hi builds on os x.
Copied from Perforce
 Change: 163257
 ServerID: perforce.ravenbrook.com
2007-09-19 11:12:21 +01:00
David Jones
a4f9d1c2c4 Mps: typo.
Copied from Perforce
 Change: 163253
 ServerID: perforce.ravenbrook.com
2007-09-18 17:04:24 +01:00
Richard Kistruck
a534cb9949 Mps br/diagtag: investigate awl behaviour:
trace.c: TraceStart: for all pool->class->name == "AWL", PoolDescribe.
 config.h: bigger DIAG_BUFFER_SIZE
 diag.c: just the bits of AWL PoolDescribe that I want.

Copied from Perforce
 Change: 163242
 ServerID: perforce.ravenbrook.com
2007-09-14 18:38:09 +01:00
Richard Kistruck
7776ff6176 Mps master: poolamc.c amcfix, amcheaderfix: correct bad shield
code (but badness was being masked by the shield cache; see 
job001706).  ShieldExpose(seg) once, and ShieldCover it once, so 
that _all_ .exposed.seg statements are between Expose and Cover.

Copied from Perforce
 Change: 163171
 ServerID: perforce.ravenbrook.com
2007-08-23 17:50:31 +01:00
Richard Kistruck
ffc4f125c9 Mps master: poolamc.c amcfix, amcheaderfix: (comment only) tag
with ".exposed.seg" statements that require that "seg" (that is: 
the 'from' seg) has been ShieldExposed.  (Preparatory to fixing 
job001706).

Copied from Perforce
 Change: 163170
 ServerID: perforce.ravenbrook.com
2007-08-23 17:28:16 +01:00
Richard Kistruck
dc7050326a Mps br/diagtag: my first awldescribe(), using statistic_write.
Copied from Perforce
 Change: 163157
 ServerID: perforce.ravenbrook.com
2007-08-20 18:02:18 +01:00
Richard Kistruck
6ddd08f8ef Mps br/diagtag: (integ from master) poolams.c amsdescribe: fix buggy
diag output intoduced in 1998 (change 19787).

Copied from Perforce
 Change: 163156
 ServerID: perforce.ravenbrook.com
2007-08-20 17:11:09 +01:00
Richard Kistruck
ff8ab008ca Mps master: poolams.c amsdescribe: fix buggy diag output intoduced
in 1998 (change 19787).

Copied from Perforce
 Change: 163155
 ServerID: perforce.ravenbrook.com
2007-08-20 17:08:59 +01:00
Richard Kistruck
c31f20a6de Mps master: from br/diagtag:
locus.c: clarify currGenSerial and new diag in ChainCondemnAuto().
poolamc.c: fix spelling of amcScanNailed_loop diag.
diag.c: (comment only) more todo list.

Copied from Perforce
 Change: 163127
 ServerID: perforce.ravenbrook.com
2007-08-14 16:27:30 +01:00
Richard Kistruck
a1ecafc1f8 Mps br/diagtag: diag.c: (comment only) add to todo list: deprecate
un-tagged diags, every diag should end with \n.
poolamc.c: fix spelling of amcScanNailed_loop diag.

Copied from Perforce
 Change: 163125
 ServerID: perforce.ravenbrook.com
2007-08-14 15:59:19 +01:00
Richard Kistruck
8bae9d7e8c Mps master: integ from br/diagtag:
DIAG_SINGLEF, _FIRSTF, _MOREF, and _END: Tagged diagnostics, sent to 
pseudo-stream "FilterStream" for buffering and filtering (diag.c, 
config.h, mpm.c, mpm.h).

mpm: WriteF now uses Stream_fputc/s, not mps_lib_fputc/s.  New 
functions WriteF_v and WriteF_firstformat_v.  New function 
StringEqual(s1, s2).

trace.c, poolamc.c: TraceStart, traceFindGrey, amcScanNailed_loop 
are now tagged diags.

Copied from Perforce
 Change: 163124
 ServerID: perforce.ravenbrook.com
2007-08-14 15:56:48 +01:00
Richard Kistruck
dd39d69db6 Mps br/diagtag: design/diag: (diag filtering). expand section: how
to see some MPS diagnostic output, with what a diagnostic is, and 
how to filter it. New section: How to write a diagnostic. 
Various minor updates and corrections.

Copied from Perforce
 Change: 163120
 ServerID: perforce.ravenbrook.com
2007-08-14 13:36:44 +01:00
Richard Kistruck
557026a790 Mps br/diagtag: diag_prefix_ in config.h, instead of hard-wired.
Note .filter-disable.

Copied from Perforce
 Change: 163119
 ServerID: perforce.ravenbrook.com
2007-08-14 13:31:46 +01:00
Richard Kistruck
2cbc8e1232 Mps br/diagtag: determine diag_buffer_size in config.h; space for
20000 chars (10 screenfuls) in diag varieties, 1 char in others.
Handle diag->buf overflow (in fact was already handled; now tested; 
 in the always-on safety tests, use a condition that is verbatim 
 the same as the corresponding AVER).
Diag type: DiagSig, and AVERT(Diag, diag).  Neater .rules.debug.

Copied from Perforce
 Change: 163114
 ServerID: perforce.ravenbrook.com
2007-08-13 18:07:30 +01:00
Richard Kistruck
d9d4f267df Mps br/diagtag: give helpful message if diag_end tag does not match.
(tidyup) Move RulesGlobal to head of file; write instructions.
(tidyup) Move StringEqual into mpm.c (with StringLength); add AVER.
(cosmetic) Correct case of names: module-interface names begin 
uppercase; local names begin lowercase.  Tags should be C identifiers.

Copied from Perforce
 Change: 163112
 ServerID: perforce.ravenbrook.com
2007-08-13 16:54:40 +01:00