1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-24 07:41:54 -07:00
Commit graph

2727 commits

Author SHA1 Message Date
Richard Kistruck
4ac9827b29 mps version 1.107: readme and version.c
Copied from Perforce
 Change: 161221
 ServerID: perforce.ravenbrook.com
2006-12-13 17:26:56 +00:00
Richard Kistruck
12d401e2b0 Mps version 1.107: master -> v107 in index docs
Copied from Perforce
 Change: 161219
 ServerID: perforce.ravenbrook.com
2006-12-13 17:13:55 +00:00
Richard Kistruck
bc8c634f31 Branching master sources for version 1.107.
Copied from Perforce
 Change: 161217
 ServerID: perforce.ravenbrook.com
2006-12-13 16:57:17 +00:00
Richard Kistruck
27d12c17f2 Mps readme: note job001545 & job001546 -- hot avers, no stats gathering
Copied from Perforce
 Change: 161215
 ServerID: perforce.ravenbrook.com
2006-12-13 16:51:33 +00:00
Richard Kistruck
9e4a7b3f86 Mps make hot varieties do avers and checks, and *not* gather statistics.
job001545 & job001546

Copied from Perforce
 Change: 161213
 ServerID: perforce.ravenbrook.com
2006-12-13 16:01:46 +00:00
Richard Kistruck
2acc44ac10 Mps config.h: make it easy to see which variety turns on which features.
The logic is now clear, but wrong.  See job001545.
(Source-only change).

Copied from Perforce
 Change: 161211
 ServerID: perforce.ravenbrook.com
2006-12-13 15:41:53 +00:00
Richard Kistruck
221bfe6659 Mps sort out baroque check macros (mainly config.h and check.h)
See job001248.  Should be source-only change.  Details:

  CheckNONE,SHALLOW,DEEP -->> CheckLevelMINIMAL,SHALLOW,DEEP
  [PROD_]CHECK_DEFAULT -->> [PROD_]CHECKLEVEL_INITIAL
  CHECK[_NONE] -->> AVER_AND_CHECK[_NONE]

And add some comments.

Copied from Perforce
 Change: 161210
 ServerID: perforce.ravenbrook.com
2006-12-13 14:45:49 +00:00
Richard Kistruck
6f2dee7860 Mps readme: when mps starts aq collection, it now posts a message (job000666)
Copied from Perforce
 Change: 161206
 ServerID: perforce.ravenbrook.com
2006-12-12 10:14:50 +00:00
Richard Kistruck
06d906a04b Mps mpmtypes.h (comment only) messagetypegcstart matches mps_message_type_gc_start
Copied from Perforce
 Change: 161205
 ServerID: perforce.ravenbrook.com
2006-12-12 10:06:27 +00:00
Richard Kistruck
6e7b73614b Mps integrate gcgenmsg into master:
- new mps_message_type_gc_start() explains what triggered a collection;
  - design/message: add guide.

Copied from Perforce
 Change: 161204
 ServerID: perforce.ravenbrook.com
2006-12-12 09:56:09 +00:00
Richard Kistruck
e6f19ce759 Mps gcgenmsg: (comment only)
TraceStart may overwrite fields of in-use message.
TraceStart may silently drop the TraceStartMessage.

Copied from Perforce
 Change: 161203
 ServerID: perforce.ravenbrook.com
2006-12-12 09:02:42 +00:00
Richard Kistruck
1999a785c5 Mps gcgenmsg: 2006 copyrights
Copied from Perforce
 Change: 161202
 ServerID: perforce.ravenbrook.com
2006-12-12 08:47:10 +00:00
Richard Kistruck
74895c8f40 Mps tool/testrunner.py: make it do xcppgc, not w3i3mv (such a hack)
Copied from Perforce
 Change: 161199
 ServerID: perforce.ravenbrook.com
2006-12-11 18:17:17 +00:00
Richard Kistruck
cdb22e5c8f Mps readme release notes: +mac os x intel; +wiki
Copied from Perforce
 Change: 161198
 ServerID: perforce.ravenbrook.com
2006-12-11 18:13:22 +00:00
Richard Kistruck
908c81804f Mps _gc_start: make tracestartmessage reasons specific trigger names, not broad categories.
Make _why text more explanatory.

Copied from Perforce
 Change: 161196
 ServerID: perforce.ravenbrook.com
2006-12-11 16:17:31 +00:00
Richard Kistruck
4193b14a9b Mps: amsss (ams stress-test): enable and report mps_message_type_gc and _gc_start
Copied from Perforce
 Change: 161193
 ServerID: perforce.ravenbrook.com
2006-12-11 15:39:58 +00:00
Richard Kistruck
17c26e4657 Mps: (comment only) fix typo, and clarify messagetypelimit is not a message type
Copied from Perforce
 Change: 161191
 ServerID: perforce.ravenbrook.com
2006-12-11 15:33:11 +00:00
Richard Kistruck
28ca29500e Mps: gcgenmsg: remove last parts of poolgenmessage:
design/message-gc: remove mps_message_type_gc_generation
  mpmst.h: drop MessageTypeGCGen
To resurrect PoolGenMessage, see also change 160989 (backing-out @51937)

Copied from Perforce
 Change: 161132
 ServerID: perforce.ravenbrook.com
2006-12-07 16:44:35 +00:00
Richard Kistruck
eb0ff709d2 Mps poolamc.c: (comment only) that's design/poolamc#gen.forward, not #forward.gen
Copied from Perforce
 Change: 161053
 ServerID: perforce.ravenbrook.com
2006-12-01 15:00:40 +00:00
Richard Kistruck
63a8ed5a89 Mps poolamc.c: (comment only) that's design/poolamc#gen.forward, not #forward.gen
Copied from Perforce
 Change: 161052
 ServerID: perforce.ravenbrook.com
2006-12-01 14:34:54 +00:00
Richard Kistruck
7e7ee1e4d6 Mps: gcgenmsg branch: back-out @51937: drj's incomplete poolgenmessage work
(DRJ's changes added PoolGenMessage struct, with text-fields for 
 gen-name and forward-dest name, and condemned Size)
The mps_message_gc_start() Message, with a _why field, remains.

Copied from Perforce
 Change: 160989
 ServerID: perforce.ravenbrook.com
2006-11-23 14:38:19 +00:00
David Jones
896bf09461 Mps: cleaning builds on intel macs.
Copied from Perforce
 Change: 160737
 ServerID: perforce.ravenbrook.com
2006-10-10 15:46:05 +01:00
David Jones
28adadffc4 Mps: removed platform specific modifications to compiler flags
as they are not necessary for modern OS X.

Copied from Perforce
 Change: 160736
 ServerID: perforce.ravenbrook.com
2006-10-10 15:32:54 +01:00
David Jones
1a2468b8c0 Mps: roughing a makefile so that intel os x builds are possible.
Copied from Perforce
 Change: 160735
 ServerID: perforce.ravenbrook.com
2006-10-10 15:08:14 +01:00
Richard Kistruck
e68910d758 Mps (comment-only change) misc.h: correct the explanation for the
PARENT() macro.

Copied from Perforce
 Change: 160016
 ServerID: perforce.ravenbrook.com
2006-08-10 16:13:24 +01:00
Richard Kistruck
168a71cb92 Mps source typo in tract.c #define tractarena(seg) should be
#define TractArena(tract).  The broken definition worked because 
it was always invoked with "TractPool(tract)".  (Source-only change)

Copied from Perforce
 Change: 160013
 ServerID: perforce.ravenbrook.com
2006-08-10 14:21:20 +01:00
Richard Kistruck
48d980fb2e Mps readme.txt: note fixed job001421, job001455
Copied from Perforce
 Change: 159477
 ServerID: perforce.ravenbrook.com
2006-06-29 18:36:47 +01:00
Richard Kistruck
b26bbc6a29 Mps: comm.gmk:add mpsplan.a to "all" target;
commpost.nmk: add mps.lib and mpsplan.lib to "all" target

Copied from Perforce
 Change: 159472
 ServerID: perforce.ravenbrook.com
2006-06-29 18:02:40 +01:00
Richard Kistruck
26ef1fea7f Mps: fix w3 builds: integrate from master the following:
MPS: fix Windows build of text-executables needing formats, with new 
make-variable FMTTEST, replacing DWTEST and HETEST, and fixing 
awlut.exe build.  (integrate from version/1.106/...@157962)
   (159467)
MPS: fix w3i3mv "all" build with VC6:
1. amsss.c: initialize ambigRoot (uninitialized warning);
2. commpost.nmk: 
2a. drop long-vanished protcv.exe;
2b. mpmss.exe needs MVFF;
2c. locusss.exe had no build rule;
3. finaltest.c: main does not use argc,v so declare as main(void);
4. lockutw3.c: add parens to avoid operator-precedence warning;
5. protocol.h: s/interface/interfaceIn: suspected compiler bug.
(integrate from version/1.106/...@158054)
   (159468)
MPS: attempt to fix w3i3mv "all" build with VC7:
(unknown if these changes are effective, but they should be safe)
1. mpm.c: +1 to array size to make room for terminator of string initializer;
2. testlib.c: disable warning 4702: unreachable code, for va_end.
(integrate from version/1.106/...@158055)
   (159469)

Copied from Perforce
 Change: 159471
 ServerID: perforce.ravenbrook.com
2006-06-29 17:55:13 +01:00
Richard Kistruck
7fc2dc0237 Mps: attempt to fix w3i3mv "all" build with vc7:
(unknown if these changes are effective, but they should be safe)
1. mpm.c: +1 to array size to make room for terminator of string initializer;
2. testlib.c: disable warning 4702: unreachable code, for va_end.
(integrate from version/1.106/...@158055)

Copied from Perforce
 Change: 159469
 ServerID: perforce.ravenbrook.com
2006-06-29 17:37:12 +01:00
Richard Kistruck
0cd4314609 Mps: fix w3i3mv "all" build with vc6:
1. amsss.c: initialize ambigRoot (uninitialized warning);
2. commpost.nmk: 
2a. drop long-vanished protcv.exe;
2b. mpmss.exe needs MVFF;
2c. locusss.exe had no build rule;
3. finaltest.c: main does not use argc,v so declare as main(void);
4. lockutw3.c: add parens to avoid operator-precedence warning;
5. protocol.h: s/interface/interfaceIn: suspected compiler bug.
(integrate from version/1.106/...@158054)

Copied from Perforce
 Change: 159468
 ServerID: perforce.ravenbrook.com
2006-06-29 17:34:48 +01:00
Richard Kistruck
01f0cf8fa7 Mps: fix windows build of text-executables needing formats, with new
make-variable FMTTEST, replacing DWTEST and HETEST, and fixing 
awlut.exe build.  (integrate from version/1.106/...@157962)

Copied from Perforce
 Change: 159467
 ServerID: perforce.ravenbrook.com
2006-06-29 17:31:46 +01:00
Richard Kistruck
20b884c314 Mps comm.gmk: empty integrate from version/1.106 (master and 1.106
came to be identical, but by different routes).

Copied from Perforce
 Change: 159466
 ServerID: perforce.ravenbrook.com
2006-06-29 17:27:52 +01:00
Richard Kistruck
416c721f92 Mps lo pool coverage test: in stepper, mark unused args with testlib_unused() (integ from branch)
Copied from Perforce
 Change: 159448
 ServerID: perforce.ravenbrook.com
2006-06-28 16:26:09 +01:00
Richard Kistruck
4ced759f6a Mps lo pool coverage test: in stepper, mark unused args with testlib_unused()
Copied from Perforce
 Change: 159446
 ServerID: perforce.ravenbrook.com
2006-06-28 16:22:04 +01:00
Richard Kistruck
bb67208a4c Mps lo pool coverage test: call mps_arena_formatted_objects_walk
and check we find the right number of test objects.  (integ from branch)

Copied from Perforce
 Change: 159443
 ServerID: perforce.ravenbrook.com
2006-06-28 15:41:27 +01:00
Richard Kistruck
c7ca26584e Mps lo pool coverage test: call mps_arena_formatted_objects_walk
and check we find the right number of test objects.

Copied from Perforce
 Change: 159442
 ServerID: perforce.ravenbrook.com
2006-06-28 15:34:07 +01:00
Richard Kistruck
629b110c9e Mps lo pool: correct lowalk loop increment calculation. should fix
AVER(i < j) on line 465 when you call mps_arena_formatted_objects_walk
when you have objects in an LO pool.  (integrate from branch).

Copied from Perforce
 Change: 159441
 ServerID: perforce.ravenbrook.com
2006-06-28 15:02:30 +01:00
Richard Kistruck
13cd3c1c57 Mps lo pool: correct lowalk loop increment calculation. should fix
AVER(i < j) on line 465 when you call mps_arena_formatted_objects_walk 
when you have objects in an LO pool.

Copied from Perforce
 Change: 159440
 ServerID: perforce.ravenbrook.com
2006-06-28 14:55:51 +01:00
Richard Kistruck
f29d976350 Mps example: hwgc02.c: asrt, destroy format at correct time,
verbose format header, skip, fmtno.h, make_stringlet, collect, 
objects_walk.  Build: fmtno.o, plus -g for gdb.  
At this changelist, demonstrates LOWalk bug: AVER(i < j) poollo.c(465).

Copied from Perforce
 Change: 159437
 ServerID: perforce.ravenbrook.com
2006-06-28 14:29:05 +01:00
Richard Kistruck
97cbf74c24 mps example hwgc02.c: can't free in poollo; destroy format.
Copied from Perforce
 Change: 159395
 ServerID: perforce.ravenbrook.com
2006-06-23 16:46:58 +01:00
Richard Kistruck
24d221aaa6 mps example hwgc02.c: (integ from hwgc01.c)
mps_free, and destroy ap, pool, arena.
    Add exit_if function for error handling.

Copied from Perforce
 Change: 159394
 ServerID: perforce.ravenbrook.com
2006-06-23 16:31:49 +01:00
Richard Kistruck
bb7acaaf29 Mps wiki: integrate progress so far to master:
modes of use of MPS
gc -- beginner's guide
apguide -- allocation points
glossary
issues with unmananged workspace

Copied from Perforce
 Change: 159371
 ServerID: perforce.ravenbrook.com
2006-06-22 13:53:30 +01:00
Richard Kistruck
a169f96608 Mps example hwgc01.c: mps_free, and destroy ap, pool, arena.
Add exit_if function for error handling.

Copied from Perforce
 Change: 159356
 ServerID: perforce.ravenbrook.com
2006-06-21 17:01:56 +01:00
Richard Kistruck
d9e56722e7 Mps example hwgc02.c: move from mps_alloc to ap: mps_reserve..mps_commit
Copied from Perforce
 Change: 159152
 ServerID: perforce.ravenbrook.com
2006-06-08 14:45:57 +01:00
Richard Kistruck
f557ce4a0d Mps example hwgc01.c: move from mps_alloc to ap: mps_reserve..mps_commit
Copied from Perforce
 Change: 159151
 ServerID: perforce.ravenbrook.com
2006-06-08 14:30:44 +01:00
Richard Kistruck
6e40a51c55 Mps example hwgc02.c: try to get poollo up and running
Copied from Perforce
 Change: 159118
 ServerID: perforce.ravenbrook.com
2006-06-06 19:28:54 +01:00
Richard Kistruck
fc343069a9 Mps hwgc example: add id and copyright
Copied from Perforce
 Change: 159115
 ServerID: perforce.ravenbrook.com
2006-06-06 18:30:06 +01:00
Richard Kistruck
f40470aaf2 Mps hwgc example: try lo pool
Copied from Perforce
 Change: 159113
 ServerID: perforce.ravenbrook.com
2006-06-06 18:17:22 +01:00
Richard Kistruck
06ee4ffa0a Mps example hw-gc: build script: better variable names
Copied from Perforce
 Change: 159103
 ServerID: perforce.ravenbrook.com
2006-06-06 12:59:03 +01:00