Add it to makefiles.
Make a start on test file:
main
main2
test
testscript
So far, only counts messages, does not get _gc or _gs_start, does not
yet test finalization messages. But works, so useful checkpoint.
Copied from Perforce
Change: 166876
ServerID: perforce.ravenbrook.com
use DYLAN_* and make_dylan_vector facilities from fmtdytst
remove exact root p -- illegal reference to an incomplete object
use stack scanning instead
rename root as myroot to avoid confusion with mps root objects
Copied from Perforce
Change: 166864
ServerID: perforce.ravenbrook.com
message.c: rename MessageClocked() as MessageIsClocked()
check.h: better name in future improvement comments
Copied from Perforce
Change: 166801
ServerID: perforce.ravenbrook.com
function; MPS calls it synchronously on collection start/stop
(immediately after posting start/stop message). The callback
receives two ints: alertcode (start|stop; see mps.h), and whycode
(trace->why). Note: callback is also called for heap walk
start/stop.
amcss.c: show start/stop alerts.
Copied from Perforce
Change: 166703
ServerID: perforce.ravenbrook.com
- Keep counts of both collection start messages and collection end
messages. Upon receipt of these messages, format the collection
start/end reports as 'brackets' (makes it easier to see whether
allocation continues during the collection or not).
- If mps_collections has changed, report() messages before doing
anything else.
- (source code clarity) Guess that the naked "4" in the
mps_arena_has_addr test means "hitsWanted", and label it.
Copied from Perforce
Change: 166689
ServerID: perforce.ravenbrook.com
message.c: maintain postedClock field, set it with mps_clock() at post time;
amcss.c: call and display mps_message_clock() on _gc_start & _gc messages.
Copied from Perforce
Change: 166677
ServerID: perforce.ravenbrook.com
mpmst.h) to check it still builds, having rearranged
message functions into a consistent order.
Copied from Perforce
Change: 166588
ServerID: perforce.ravenbrook.com
__New w3i3m9 clone-platform__
(see job001944)
w3i3m9.nmk (from w3i3mv.nmk) -- makefile
w3vc9.bat (from w3build.bat) -- Configura release
commpre9.nmk (from commpre.nmk) -- VC9 compiler and linker opts
__use CONFIG_PF_* to check compiler__
(see job001945)
mpstd.h:
- fix broken behaviour if CONFIG_PF_* is set (result depends on
order of the various platform elifs!); change it to always use
platform detection by looking at preprocessor symbols, and
then (if CONFIG_PF_STRING *and* CONFIG_PF_* are set) check
that CONFIG and detection match;
- write design notes about interaction of CONFIG_PF_* and
platform detection.
xcppgc.gmk: define both CONFIG_PF_STRING and CONFIG_PF_*.
w3i3m[v9].nmk: define both CONFIG_PF_STRING and CONFIG_PF_*.
Copied from Perforce
Change: 166536
ServerID: perforce.ravenbrook.com
- fix broken behaviour if CONFIG_PF_* is set (result depends on
order of the various platform elifs!); change it to always use
platform detection by looking at preprocessor symbols, and
then (if CONFIG_PF_STRING *and* CONFIG_PF_* are set) check
that CONFIG and detection match;
xcppgc.gmk: define both CONFIG_PF_STRING and CONFIG_PF_*.
Copied from Perforce
Change: 166513
ServerID: perforce.ravenbrook.com
- fix broken behaviour if CONFIG_PF_* is set (result depends on
order of the various platform elifs!); change it to always use
platform detection by looking at preprocessor symbols, and
then (if CONFIG_PF_STRING *and* CONFIG_PF_* are set) check
that CONFIG and detection match;
- write design notes about interaction of CONFIG_PF_* and
platform detection.
w3i3m[v9].nmk: define both CONFIG_PF_STRING and CONFIG_PF_*.
Copied from Perforce
Change: 166512
ServerID: perforce.ravenbrook.com
- w3i3m9.nmk: use commpre9.nmk (not commpre.nmk), for VC9 compiler
and linker options;
- w3i3m[v9].nmk: declare CONFIG_PF_...
- mpstd.h: if CONFIG_PF_... is declared, check that the correct
compiler really is in use.
Copied from Perforce
Change: 166505
ServerID: perforce.ravenbrook.com
w3build.bat: place a copy of w3gen.def in the release
w3gen.def: edit comments to be appropriate to this usage.
Copied from Perforce
Change: 166468
ServerID: perforce.ravenbrook.com