diag.c: support tagging of diagnostics, and avoid having to
say DIAG_STREAM every time, with new macros:
DIAG_SINGLEF, DIAG_FIRSTF, DIAG_MOREF, DIAG_END.
mpm.c: new WriteF_firstformat_v required by DIAG_MOREF.
Copied from Perforce
Change: 163059
ServerID: perforce.ravenbrook.com
That is:
- TraceStart diagnostic showing chains, GenDescs, and PoolGens;
- TraceCreate calls traceCopySizes() to save a copy of each
GenDesc's newSize in a "newSizeAtCreate" field.
Copied from Perforce
Change: 163046
ServerID: perforce.ravenbrook.com
and ToTextBuffer), and fix DIAG in TraceStart to use ToString.
(Previous hack of using the start-message's buffer only works if
the client has enabled start messages).
Copied from Perforce
Change: 162964
ServerID: perforce.ravenbrook.com
always present in the source, even for builds (eg. non-diag
varieties) in which it is not invoked. (avoids ranlib warning on
xcppgc).
Copied from Perforce
Change: 162948
ServerID: perforce.ravenbrook.com
PoolTrivGrey knows that a white seg is an all-white seg, and
therefore needs no greying.
Copied from Perforce
Change: 162946
ServerID: perforce.ravenbrook.com
to loop. (A rare event, which might prompt a rare defect to appear).
This is diag developed for job001548, but worth leaving on by default
(in diag varieties only, natch).
Copied from Perforce
Change: 162939
ServerID: perforce.ravenbrook.com
trace.c: traceFindGrey_diag: wrap calls in DIAG(), prevent report
overflow, reduce report array to 20 chars, and use WriteF.
Copied from Perforce
Change: 162937
ServerID: perforce.ravenbrook.com
of gens, removing hardwired limit of 3.
vmArenaExtend(): diagnostic: report when VM arena is extended (#if0)
Copied from Perforce
Change: 162933
ServerID: perforce.ravenbrook.com
w3build.bat: also build variety.di.
delete fint1658.c (superseded by fin1658a.c), and remove it from
comm.gmk and commpost.nmk
Copied from Perforce
Change: 162930
ServerID: perforce.ravenbrook.com
branch/2007-04-18/diag/...
This was merged onto master by change 162839, but I, drj, felt
it was simpler to remove it in a separate change.
Copied from Perforce
Change: 162841
ServerID: perforce.ravenbrook.com
p4 integ branch/2007-04-18/diag/... master/...
p4 resolve -as master/...
Non -as resolves:
design/index.html - easy dirty merge
code/w3build.bat -ay
code/version.c -ay
code/comm.gmk -at
code/commpost.nmk -at
code/poolmrg.c -am
code/trace.c -at
mpmtypes has unwanted code from the merge, this will be cleaned
up in another change (it's just simpler that way).
Copied from Perforce
Change: 162839
ServerID: perforce.ravenbrook.com
delete them very soon.
for a in 162760 162720 162649 162648; do p4 integ branch/2007-04-18/diag/...@$a,$a master/...; done
Copied from Perforce
Change: 162835
ServerID: perforce.ravenbrook.com
trace.c, design/trace, mpmst.h:
- fix job001658;
- (by making traceFindGrey aware of reference rank bands);
- tidy according to cstyle.
fin1658a.c, comm.gmk, commpost.nmk:
- new test for job001658.
tool/test-runner.py:
- platform detection.
w3build.bat:
- rearrange to reduce interleaving of different deliverables;
- only we, hi, di, ci;
- rmdir the release directory, before creating and populating it.
(version.c - empty-integrate)
Copied from Perforce
Change: 162787
ServerID: perforce.ravenbrook.com