Gareth Rees
dfce35a35b
Make forward declarations of various functions consistent with their actual declarations.
...
Copied from Perforce
Change: 181788
ServerID: perforce.ravenbrook.com
2013-05-15 14:18:28 +01:00
Richard Brooksby
2f79ef3b9e
Converting design.mps.config to restructuredtext. rewriting, correcting, clarifying, and generally bringing it up-to-date.
...
Removing misplaced obsolete design text from mpstd.h.
Tidying up the format of a couple of other docs.
Copied from Perforce
Change: 181717
ServerID: perforce.ravenbrook.com
2013-05-11 17:53:40 +01:00
Richard Brooksby
6aeb72af5e
Adding unused declaration for unused variable.
...
Copied from Perforce
Change: 181623
ServerID: perforce.ravenbrook.com
2013-05-08 14:11:27 +01:00
Richard Brooksby
c72234fbb9
Updating mps_release to release/1.111.0
...
Copied from Perforce
Change: 181619
ServerID: perforce.ravenbrook.com
2013-05-08 13:57:31 +01:00
Richard Brooksby
7b009080c9
Adding type mps_awl_find_dependent_t that is documented but didn't actually exist.
...
Copied from Perforce
Change: 181596
ServerID: perforce.ravenbrook.com
2013-05-08 00:19:39 +01:00
Gareth Rees
297f287200
Put xxxxxx at the end of the pattern argument to mktemp, so that it works on freebsd and os x.
...
Copied from Perforce
Change: 181562
ServerID: perforce.ravenbrook.com
2013-05-06 19:01:25 +01:00
Gareth Rees
726608ce56
Avoid type puns.
...
Copied from Perforce
Change: 181561
ServerID: perforce.ravenbrook.com
2013-05-06 18:39:26 +01:00
Gareth Rees
d503983733
Correct a couple of comments.
...
Copied from Perforce
Change: 181469
ServerID: perforce.ravenbrook.com
2013-04-26 20:50:21 +01:00
Gareth Rees
4dcd039b18
Fix typo ("not" for "now").
...
Copied from Perforce
Change: 181451
ServerID: perforce.ravenbrook.com
2013-04-25 20:10:10 +01:00
Nick Barnes
1c9b2296e1
Fix job003454: when an amc pool is in the finish ramp mode, it should stay there until it can transition to collecting. also update the ramp part of design/poolamc.
...
Copied from Perforce
Change: 181325
ServerID: perforce.ravenbrook.com
2013-04-04 16:22:39 +01:00
Gareth Rees
2a65ff579e
Comment out all calls to mps_arena_commit_limit_set in test case amcsshe. (this test case formerly set the commit limit "in the hope of getting one dynamic collection", but this was unreliable: see job003440 for details.)
...
Copied from Perforce
Change: 181122
ServerID: perforce.ravenbrook.com
2013-03-12 15:15:57 +00:00
Gareth Rees
a5e6a66511
Restore arena serial numbers.
...
Copied from Perforce
Change: 181121
ServerID: perforce.ravenbrook.com
2013-03-12 15:11:22 +00:00
Gareth Rees
db733f3932
Remove "mps_alert_collection_set" from public interface and remove its implementation and test case. client programs should use the messages interface to find out what the mps is doing.
...
Copied from Perforce
Change: 181119
ServerID: perforce.ravenbrook.com
2013-03-12 14:33:27 +00:00
Richard Brooksby
f3f1a4a202
Removing bogus test file that got into the sources somehow.
...
Copied from Perforce
Change: 181116
ServerID: perforce.ravenbrook.com
2013-03-12 11:01:14 +00:00
Gareth Rees
25ab662238
Add -*- makefile -*- to .gmk files so that syntax highlighting in emacs works out of the box.
...
Copied from Perforce
Change: 181101
ServerID: perforce.ravenbrook.com
2013-03-08 17:26:12 +00:00
Gareth Rees
81eca1b2c1
Make mps_arena_step suitable for purpose: arenastep now calls tracestartcollectall directly (not via arenastartcollect) so that it no longer unclamps the arena as a side effect.
...
Add test case: steptest now runs with the arena clamped, and checks that mps_arena_step does not unclamp it.
Copied from Perforce
Change: 181098
ServerID: perforce.ravenbrook.com
2013-03-08 15:13:16 +00:00
Gareth Rees
2dd7d8f599
Follow policy of not defining symbols from mpstd.h in the external interface, by removing the definition of mps_t_word from mps.h.
...
Copied from Perforce
Change: 181096
ServerID: perforce.ravenbrook.com
2013-03-08 14:03:10 +00:00
Gareth Rees
debb156e8d
Move global 'pool' to local so that we can rename argument 'pol' to 'pool'.
...
Copied from Perforce
Change: 181095
ServerID: perforce.ravenbrook.com
2013-03-08 12:41:41 +00:00
Gareth Rees
ed161ae658
Don't accidentally leave the arena in the clamped state after calling mps_arena_collect:
...
* In mpiscv, release the arena immediately after collecting.
* In zmess, clamp the arena immediately after creating it.
Copied from Perforce
Change: 181094
ServerID: perforce.ravenbrook.com
2013-03-08 12:23:44 +00:00
Gareth Rees
8232da8480
Private symbols _mps_sac_s and _mps_sac_freelist_block_s now start with underscores, as per external interface policy.
...
Copied from Perforce
Change: 181092
ServerID: perforce.ravenbrook.com
2013-03-08 12:10:44 +00:00
Gareth Rees
543b50104e
Ensure that the last entry in the table is preserved, so that we don't get a false positive due to the local variable 'string' keeping this entry alive.
...
Copied from Perforce
Change: 181088
ServerID: perforce.ravenbrook.com
2013-03-08 11:36:38 +00:00
Gareth Rees
163e9ad484
Test suite runs on os x:
...
* New Xcode target "testrun" runs all the (runnable) test cases.
* Makefile provides separate targets test-make-build and test-xcode-build for running test suite on different platforms.
* configure selects the appropriate test target.
Copied from Perforce
Change: 181085
ServerID: perforce.ravenbrook.com
2013-03-08 10:17:08 +00:00
Gareth Rees
139a4daa9d
Comment out all calls to mps_arena_commit_limit_set in test case amcsshe. (this test case formerly set the commit limit "in the hope of getting one dynamic collection", but this was unreliable: see job003432 for details.)
...
Copied from Perforce
Change: 181081
ServerID: perforce.ravenbrook.com
2013-03-07 17:08:07 +00:00
Gareth Rees
508ed55b10
Fix to the mpsicv test case: get the arena's committed memory after creating the pool, so that the creation of the pool can't cause the committed memory to be bumped upwards.
...
Copied from Perforce
Change: 181080
ServerID: perforce.ravenbrook.com
2013-03-07 16:45:48 +00:00
Gareth Rees
615418b5c8
Fix mutatorfaultcontextsp on lii3* and lii6*.
...
Copied from Perforce
Change: 181078
ServerID: perforce.ravenbrook.com
2013-03-07 15:31:40 +00:00
Gareth Rees
b92064a89c
The amcssth test case now registers its threads' stacks as roots with the mps.
...
Copied from Perforce
Change: 181076
ServerID: perforce.ravenbrook.com
2013-03-07 14:53:31 +00:00
Gareth Rees
06afcd5752
Build amcssth test case on os x (xci6ll).
...
Copied from Perforce
Change: 181074
ServerID: perforce.ravenbrook.com
2013-03-07 14:33:32 +00:00
Gareth Rees
9ecff094ec
Add testlib_unused(argc) where necessary, so that test cases build on xci6ll.
...
Copied from Perforce
Change: 181073
ServerID: perforce.ravenbrook.com
2013-03-07 14:32:40 +00:00
Gareth Rees
13e6529c52
Make amcssth test case runnable on platforms that use gnumake.
...
Copied from Perforce
Change: 181072
ServerID: perforce.ravenbrook.com
2013-03-07 14:03:00 +00:00
Gareth Rees
8dc0d72a8d
Improve the usability of the test suite:
...
1. "make test" now reports the name of the test case before running it, so that when you look back through the test output you can see which test case failed.
2. "make test" now collects the standard output from all the tests to a log file in /tmp, so that this does not clutter the user's terminal, and so that nothing is lost if the output exceeds the terminal's scrollback.
3. Each test case now prints a success message ("Conclusion: Failed to find any defects.") to standard output (not standard error) so that these messages do not clutter up the terminal when running "make test".
4. Each test case now uses its result code (not the printed message) to indicate whether it succeeded or failed.
5. More of the diagnostic messages from the test cases now start by printing argv[0] so that it is easier to tell which test case was running.
Copied from Perforce
Change: 181071
ServerID: perforce.ravenbrook.com
2013-03-07 13:13:32 +00:00
Richard Brooksby
a622cdfc07
Minor tweaks to allow amcssth test to build under lii3gc at least.
...
Copied from Perforce
Change: 180963
ServerID: perforce.ravenbrook.com
2013-02-20 13:35:23 +00:00
Richard Brooksby
88ad39840e
Deprecating the mps trampoline by using vectored exception handling on windows.
...
Copied from Perforce
Change: 180961
ServerID: perforce.ravenbrook.com
2013-02-20 12:11:40 +00:00
Richard Brooksby
c4d6a2de1f
Merging spelling corrections contributed by bruce mitchener.
...
See <1c80ccb634 >.
Copied from Perforce
Change: 180956
ServerID: perforce.ravenbrook.com
2013-02-18 15:46:39 +00:00
Richard Brooksby
2706097eab
Integrating branch/2012-10-09/user-guide back to master.
...
Copied from Perforce
Change: 180943
ServerID: perforce.ravenbrook.com
2013-02-08 16:17:34 +00:00
Gareth Rees
b31cda511d
Undo changes 180370 and 180390 (which supported interior pointers by checking all nails in an object), as these changes are not suitable for release. work around job003359 for the example scheme interpreter by setting the compilation option -fno-inline-functions.
...
Copied from Perforce
Change: 180941
ServerID: perforce.ravenbrook.com
2013-02-08 15:36:50 +00:00
Gareth Rees
e355edd8ca
Merge 64-bit xcode support from measurement branch.
...
Copied from Perforce
Change: 180937
ServerID: perforce.ravenbrook.com
2013-02-08 14:52:53 +00:00
Gareth Rees
785589415f
Print event code in uppercase hexadecimal for consistency.
...
Copied from Perforce
Change: 180936
ServerID: perforce.ravenbrook.com
2013-02-08 14:52:05 +00:00
Gareth Rees
bc4ccedc13
More build/install improvements:
...
1. Name the command-line tools with the "mps" prefix throughout, for consistency between build and installation.
2. Don't build "mpseventsql.exe" by default on Windows.
3. Instructions for building mpseventsql on the supported platforms.
Copied from Perforce
Change: 180913
ServerID: perforce.ravenbrook.com
2013-02-05 15:43:41 +00:00
Gareth Rees
2ffce9476e
Build extra_targets. in particular, build eventsql only if configured to do so.
...
Copied from Perforce
Change: 180912
ServerID: perforce.ravenbrook.com
2013-02-05 15:03:47 +00:00
Gareth Rees
e12d5890e3
Improvements to the mps build/installation process:
...
1. Build eventtxt on Mac OS X (add "eventtxt" as dependency for "all" target).
2. In configure, check for the existence of the header "sqlite3.h" and set EXTRA_TARGETS accordingly.
3. In top-level Makefile, install all targets in EXTRA_TARGETS.
Copied from Perforce
Change: 180907
ServerID: perforce.ravenbrook.com
2013-02-05 13:34:42 +00:00
Gareth Rees
51b123525e
Avoid error "variable 'res' set but not used" from gcc.
...
Copied from Perforce
Change: 180905
ServerID: perforce.ravenbrook.com
2013-02-04 17:32:13 +00:00
Gareth Rees
c6aeb6e62f
Merge changes 180885 and 180887 from branch/2012-10-10/measurement to branch/2012-10-09/user-guide.
...
Copied from Perforce
Change: 180904
ServerID: perforce.ravenbrook.com
2013-02-04 16:44:34 +00:00
Gareth Rees
afd7af371b
Don't #error if defined(mps_build_ll) and __has_builtin(__builtin_readcyclecounter). put a todo here instead, referencing job003411.
...
Copied from Perforce
Change: 180903
ServerID: perforce.ravenbrook.com
2013-02-04 16:40:28 +00:00
Nick Barnes
7dc00c2912
Get eventcnv/txt/sql working on fri3gc.
...
Copied from Perforce
Change: 180887
ServerID: perforce.ravenbrook.com
2013-01-31 14:54:35 +00:00
Nick Barnes
164f0a8a92
Port eventsql and friends to windows 7.
...
Copied from Perforce
Change: 180885
ServerID: perforce.ravenbrook.com
2013-01-30 16:06:59 +00:00
Gareth Rees
01b0ed6d11
Integrate changes from branch/2012-10-10/measurement.
...
Copied from Perforce
Change: 180506
ServerID: perforce.ravenbrook.com
2012-11-20 10:50:12 +00:00
Gareth Rees
0dd9586930
New type mps_label_t for telemetry labels.
...
Deprecate "candy machine" interface to telemetry control.
Implement and document straightforward get/set/reset interface.
Put a TODO referencing job003387 and job003388.
Copied from Perforce
Change: 180495
ServerID: perforce.ravenbrook.com
2012-11-16 16:42:41 +00:00
Gareth Rees
35e0ac259a
New file "mpscmv2.h" just #include "mpscmvt.h", for backwards compatibility.
...
Copied from Perforce
Change: 180490
ServerID: perforce.ravenbrook.com
2012-11-16 14:48:53 +00:00
Gareth Rees
fcd7180d08
Rename "mpscmv2.h" to "mpscmvt.h" for consistency.
...
Copied from Perforce
Change: 180489
ServerID: perforce.ravenbrook.com
2012-11-16 14:48:14 +00:00
Nick Barnes
ba28c7a10d
Exit(exit_success) after usage message.
...
Copied from Perforce
Change: 180484
ServerID: perforce.ravenbrook.com
2012-11-16 10:22:29 +00:00