Commit graph

2980 commits

Author SHA1 Message Date
Richard Kistruck
40437acbb4 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
022530fc45 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
c2485e5229 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
be107db8f6 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
Richard Kistruck
8c612cef8d Mps design/message: prepend a guide to the original design document
Copied from Perforce
 Change: 160814
 ServerID: perforce.ravenbrook.com
2006-10-25 14:19:55 +01:00
David Jones
ffec7c6371 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
fa865750f5 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
2b568041ab 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
9962457ddf 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
0f430304ad 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
379ed4bb52 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
0064529a5f 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
b992fba80c 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
8fffb7e63a 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
10f4047f35 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
cfd8f8e963 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
a72b93fbdf 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
ee7f503621 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
77b549a933 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
ff4ab6eda2 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
22c593757e 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
9d1d32ac01 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
c62168f5c8 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
97b7c60dab 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
e55e17ed29 Mps wiki: pool_classes: notes on awl dependent object and scan method.
Copied from Perforce
 Change: 159436
 ServerID: perforce.ravenbrook.com
2006-06-28 14:18:54 +01:00
Richard Kistruck
4a829c3949 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
80d05e5f9f 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
3a19fcdd32 Mps wiki: split ap internals into its own article (from branch 159392)
Copied from Perforce
 Change: 159393
 ServerID: perforce.ravenbrook.com
2006-06-23 16:22:03 +01:00
Richard Kistruck
49dcec4d8f Mps wiki: split ap internals into its own article
Copied from Perforce
 Change: 159392
 ServerID: perforce.ravenbrook.com
2006-06-23 16:20:20 +01:00
Richard Kistruck
f18138dd40 mps wiki: integ from branch/2006-05-31/feedback/:
MPS Wiki: AP User Guide: reword mistake-example to avoid an ambiguity
    ['may' can mean 'is permitted to', but can also be read as
    'might', which can change the meaning].
   MPS Wiki: Pool classes: Link to RIT's 1998 guide.mps.pool-classes
    Index: Section: About the MPS Wiki

Copied from Perforce
 Change: 159391
 ServerID: perforce.ravenbrook.com
2006-06-23 15:45:25 +01:00
Richard Kistruck
9232833382 Mps wiki: ap user guide: reword mistake-example to avoid an ambiguity
['may' can mean 'is permitted to', but can also be read as 
'might', which can change the meaning].

Copied from Perforce
 Change: 159390
 ServerID: perforce.ravenbrook.com
2006-06-23 15:39:26 +01:00
Richard Kistruck
66c12524c4 Mps wiki: pool classes: link to rit's 1998 guide.mps.pool-classes
Index: Section: About the MPS Wiki

Copied from Perforce
 Change: 159389
 ServerID: perforce.ravenbrook.com
2006-06-23 15:34:32 +01:00
Richard Kistruck
b61d85ea17 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
7d853b8bd1 Mps wiki: modes: separate recommended and potential modes of use.
(plus rewording tweak to index)

Copied from Perforce
 Change: 159370
 ServerID: perforce.ravenbrook.com
2006-06-22 13:45:34 +01:00
Richard Kistruck
9441d189e1 Mps wiki: move allocation points -- user's guide into its own article
Copied from Perforce
 Change: 159369
 ServerID: perforce.ravenbrook.com
2006-06-22 13:33:30 +01:00
Richard Kistruck
35004d353b Mps wiki: move allocation points -- user's guide into its own article (integrate)
Copied from Perforce
 Change: 159366
 ServerID: perforce.ravenbrook.com
2006-06-22 12:47:57 +01:00
Richard Kistruck
930d0098f4 Mps wiki:
Tidy gc: Complete AP User Guide:
	Make AP User Guide consistently .assume.ambig-workspace,
	moving notes to APInternals; add Intro and Mistakes;
	check example code.	
Tidy modes of use: move notes to new unmanaged workspace article.

Copied from Perforce
 Change: 159365
 ServerID: perforce.ravenbrook.com
2006-06-22 12:34:33 +01:00
Richard Kistruck
105a5a3b18 Mps wiki: unmanaged workspace (integ from template)
Copied from Perforce
 Change: 159358
 ServerID: perforce.ravenbrook.com
2006-06-21 18:24:18 +01:00
Richard Kistruck
87892cd4a4 Mps wiki: glossary: scope of terms; client/mutator, ap/buffer.
Copied from Perforce
 Change: 159357
 ServerID: perforce.ravenbrook.com
2006-06-21 18:22:05 +01:00
Richard Kistruck
194d56a947 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
97d3f765fe Mps wiki: modes of use of mps:
Tidy and clarify.  False aborts in guarded protocols.  Add to index.

Copied from Perforce
 Change: 159342
 ServerID: perforce.ravenbrook.com
2006-06-20 14:16:17 +01:00
Richard Kistruck
429357dc61 Mps wiki article on: modes of use of mps:
Objects, cells, and references; Using unmanaged workspace

Copied from Perforce
 Change: 159284
 ServerID: perforce.ravenbrook.com
2006-06-16 17:08:17 +01:00
Richard Kistruck
0fa623b228 Mps wiki article on: modes of use of mps:
Modes of use; Types of object; Types of reference.
   And (temporary) still trying to get guarded values right.

Copied from Perforce
 Change: 159276
 ServerID: perforce.ravenbrook.com
2006-06-16 15:23:14 +01:00
Richard Kistruck
ed07a5e2ae Mps wiki article on gc: brief notes on protection and incremental collection
Copied from Perforce
 Change: 159264
 ServerID: perforce.ravenbrook.com
2006-06-16 12:17:15 +01:00
Richard Kistruck
54aa9ab652 Mps wiki article on: modes of use of mps
Copied from Perforce
 Change: 159254
 ServerID: perforce.ravenbrook.com
2006-06-15 12:55:01 +01:00
Richard Kistruck
df4fe22153 Mps wiki article on gc: allocation points: clarifications and
further notes into User Guide and Internals, including initializing 
as-yet unused parts of new objects to reduce spoofing.

Copied from Perforce
 Change: 159248
 ServerID: perforce.ravenbrook.com
2006-06-15 11:28:19 +01:00
Richard Kistruck
03370594a9 Mps wiki article on gc:
Roots -- User's Guide: bare bones: root variants.
Allocation point user's guide: standard reserve-commit 
  idiom: corrections, and now assume ambiguous reg+stack:
  transitioning to this assumption.
Add .talk.RB.2006-06-13 about standard r-c idiom 
Add .talk.RB.2006-06-14 about Modes of use of MPS, 
  and Promises to not flip (single-threaded).
Add .think.RHSK.2006-06-14 about how we could support 
  unscanned reg+stack, even with multi-threaded, moving
  collector.

Copied from Perforce
 Change: 159241
 ServerID: perforce.ravenbrook.com
2006-06-14 19:36:41 +01:00
Richard Kistruck
c3bd50662c Mps wiki article on gc: allocation point user's guide: tidy;
clarify -- not yet complete.  Distinguish it from section on AP
internals.

Copied from Perforce
 Change: 159204
 ServerID: perforce.ravenbrook.com
2006-06-13 13:50:53 +01:00
Richard Kistruck
c496e2f24d Mps wiki article on gc: allocation point detail:
Scenario; A mutator with ambiguous references only (to the new
object); How bad is a bogus exact reference?; quick notes on: with
exact refs; flipping at other times.

Copied from Perforce
 Change: 159200
 ServerID: perforce.ravenbrook.com
2006-06-12 17:12:38 +01:00
Richard Kistruck
af955644b9 Mps wiki article on gc: allocation points: minor edits for clarity.
Copied from Perforce
 Change: 159188
 ServerID: perforce.ravenbrook.com
2006-06-12 11:13:30 +01:00