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
- 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
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
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
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
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
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
Print the following from awl->stats: goodScans, badScans, savedScans, savedAccesses, declined.
Copied from Perforce
Change: 163296
ServerID: perforce.ravenbrook.com
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
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
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
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
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
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
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
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
(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