Richard Brooksby
b06ee89936
Supressing "may be used uninitialized" warnings from gcc.
...
Copied from Perforce
Change: 191489
ServerID: perforce.ravenbrook.com
2016-04-21 15:34:20 +01:00
Richard Brooksby
2f4348a253
Minor comment fix.
...
Copied from Perforce
Change: 191481
ServerID: perforce.ravenbrook.com
2016-04-21 15:27:42 +01:00
Richard Brooksby
546e082125
Removing bogus arenatrivdescribe and turning arenadescribe the right way in.
...
Copied from Perforce
Change: 191480
ServerID: perforce.ravenbrook.com
2016-04-21 15:27:41 +01:00
Richard Brooksby
4a8e015d30
Typo.
...
Copied from Perforce
Change: 191479
ServerID: perforce.ravenbrook.com
2016-04-21 15:27:41 +01:00
Richard Brooksby
3f76b36cf4
Eliminating special case of amsinitinternal, since amst can now just use a standard next-method.
...
Copied from Perforce
Change: 191476
ServerID: perforce.ravenbrook.com
2016-04-21 15:24:51 +01:00
Richard Brooksby
4be15a5b0b
Catch-up merge from master sources to branch/2016-04-08/protidying.
...
Copied from Perforce
Change: 191471
ServerID: perforce.ravenbrook.com
2016-04-21 14:46:10 +01:00
Richard Brooksby
d249780b2d
Enforcing rules about class overrides that were dropped in changelist 190837.
...
Copied from Perforce
Change: 191453
ServerID: perforce.ravenbrook.com
2016-04-21 13:41:27 +01:00
Richard Brooksby
4db81ddfa0
Merging branch/2016-04-21/ld-history into master sources.
...
Copied from Perforce
Change: 191447
ServerID: perforce.ravenbrook.com
2016-04-21 13:07:10 +01:00
Gareth Rees
7cea9285f2
Correct the documentation for mps_collections.
...
In finalcv, don't rely on mps_collections to terminate the test case: use garbage collection messages.
Copied from Perforce
Change: 191442
ServerID: perforce.ravenbrook.com
2016-04-21 12:34:26 +01:00
Richard Brooksby
e87ff3aa7c
Responding to review by gdr < https://info.ravenbrook.com/mail/2016/04/21/09-36-07/0/ >.
...
Copied from Perforce
Change: 191432
ServerID: perforce.ravenbrook.com
2016-04-21 10:56:35 +01:00
Gareth Rees
5050d53d48
Increase target ratios to reduce false positives.
...
Copied from Perforce
Change: 191420
ServerID: perforce.ravenbrook.com
2016-04-21 09:12:16 +01:00
Richard Brooksby
02a8064a07
Moving location dependency history into its own structure to reduce arenastruct bloat.
...
Copied from Perforce
Change: 191417
ServerID: perforce.ravenbrook.com
2016-04-21 09:05:34 +01:00
Richard Brooksby
d618f77b2e
Removing unused (and useless) poolfix macro.
...
Copied from Perforce
Change: 191407
ServerID: perforce.ravenbrook.com
2016-04-21 08:59:52 +01:00
Gareth Rees
ffcd3f0b7b
Merge branch/2016-04-11/job003998.
...
Copied from Perforce
Change: 191388
ServerID: perforce.ravenbrook.com
2016-04-20 17:56:59 +01:00
Gareth Rees
68fd97647f
Pass the -p (posix output) option to /usr/bin/time so that the results are portable between os x and linux.
...
Copied from Perforce
Change: 191378
ServerID: perforce.ravenbrook.com
2016-04-20 16:19:38 +01:00
Gareth Rees
0d0eb93f01
Merge branch/2016-04-19/job004011.
...
Copied from Perforce
Change: 191374
ServerID: perforce.ravenbrook.com
2016-04-20 16:00:43 +01:00
Gareth Rees
a5973e98f8
Merge branch/2016-04-19/job004007.
...
Copied from Perforce
Change: 191371
ServerID: perforce.ravenbrook.com
2016-04-20 15:56:32 +01:00
Gareth Rees
8a19bd5e8c
Initialize arena->zoneshift to zoneshiftunset (which is not a valid shift) and modify the arena checking to spot this value. previously a default shift value (namely 20) was used, but this value was bogus as the zone shift is not determined until the class initialization runs.
...
Copied from Perforce
Change: 191370
ServerID: perforce.ravenbrook.com
2016-04-20 15:51:16 +01:00
Gareth Rees
c5456223c1
Performance ratio test uses cpu time (not real time). use awk instead of dc to avoid having to install a package.
...
Copied from Perforce
Change: 191365
ServerID: perforce.ravenbrook.com
2016-04-20 15:07:22 +01:00
Richard Brooksby
af037d483c
Squelching bogus type pun warnings from gcc 4.7 to get a clean build in travis ci.
...
Adding platform XCI6GC to allow faster debugging of CI builds on Mac OS X with MacPorts GCC 4.7 installed. Not otherwise supported.
Copied from Perforce
Change: 191357
ServerID: perforce.ravenbrook.com
2016-04-20 13:59:23 +01:00
Gareth Rees
655e358db4
Add a test checking that the hot variety is not too much slower than the rash variety. turn this on for continuous integration testing via "make test".
...
Copied from Perforce
Change: 191339
ServerID: perforce.ravenbrook.com
2016-04-20 13:15:18 +01:00
Gareth Rees
3f41c3fba4
Discard all messages retrieved from the queue.
...
Copied from Perforce
Change: 191317
ServerID: perforce.ravenbrook.com
2016-04-20 09:35:27 +01:00
Richard Brooksby
7f44fb60fb
Eliminating poolpoolmfs in favour of mustbea.
...
Copied from Perforce
Change: 191312
ServerID: perforce.ravenbrook.com
2016-04-19 23:30:18 +01:00
Richard Brooksby
ef6407e9c6
Eliminating seg2linkseg, linkseg2seg, seg2refseg, refseg2seg, poolmrg, and mrgpool in favour of mustbea.
...
Copied from Perforce
Change: 191311
ServerID: perforce.ravenbrook.com
2016-04-19 23:29:46 +01:00
Richard Brooksby
dd14518ade
Eliminating vmarena2arena and arena2vmarena in favour of mustbea.
...
Copied from Perforce
Change: 191306
ServerID: perforce.ravenbrook.com
2016-04-19 23:00:02 +01:00
Richard Brooksby
cb620cf755
Removing a note about initialization order that no longer applies.
...
Copied from Perforce
Change: 191305
ServerID: perforce.ravenbrook.com
2016-04-19 23:00:02 +01:00
Richard Brooksby
65a770e91f
Avoid using "class" as an identifier, since tools like lldb parse expressions as c++, and it can't be named.
...
Copied from Perforce
Change: 191304
ServerID: perforce.ravenbrook.com
2016-04-19 23:00:02 +01:00
Gareth Rees
21bb1c84b1
Address comments made by rb in review:
...
* Clearer name for the amcseg->buffered flag.
* Better explanation of the meaning of this flag.
* Explain how an AMC segment can be buffered but not accounted as buffered.
Copied from Perforce
Change: 191298
ServerID: perforce.ravenbrook.com
2016-04-19 20:38:33 +01:00
Gareth Rees
2df530bb62
Make it clear where tags are defined and where they are referenced, as suggested by rb in review.
...
Copied from Perforce
Change: 191288
ServerID: perforce.ravenbrook.com
2016-04-19 19:24:46 +01:00
Gareth Rees
c1aeb1f67a
Ensure that at most one collection of the world can be started in a call to arenapoll. this avoids a loop if the live set is large enough to provoke the "dynamic criterion".
...
Copied from Perforce
Change: 191274
ServerID: perforce.ravenbrook.com
2016-04-19 18:17:09 +01:00
Gareth Rees
e8a7c408be
Infinity was new in c99 so use huge_val instead.
...
Copied from Perforce
Change: 191254
ServerID: perforce.ravenbrook.com
2016-04-19 16:38:20 +01:00
Richard Brooksby
1c0704e3c8
Catch-up merge from master sources to branch/2016-04-08/protidying.
...
Copied from Perforce
Change: 191251
ServerID: perforce.ravenbrook.com
2016-04-19 16:37:51 +01:00
Gareth Rees
99303979de
Give buffers their own account in the pool generation accounting system. this ensures that buffers don't contribute to the "new size" of a generation, and so don't provoke collections of that generation.
...
Copied from Perforce
Change: 191243
ServerID: perforce.ravenbrook.com
2016-04-19 16:02:16 +01:00
Richard Brooksby
6e21f091a4
Eliminating classdef.h by defining the class level when declaring a class.
...
Copied from Perforce
Change: 191235
ServerID: perforce.ravenbrook.com
2016-04-19 14:59:30 +01:00
Richard Brooksby
033aeda023
Using the address of the class as its id as a step to eliminating classdef.h.
...
Copied from Perforce
Change: 191234
ServerID: perforce.ravenbrook.com
2016-04-19 14:21:29 +01:00
Richard Brooksby
4028e56921
Improving documentation in response to review by gdr.
...
See <https://info.ravenbrook.com/mail/2016/04/14/10-02-00/0/ > and <https://info.ravenbrook.com/mail/2016/04/14/11-21-48/0/ >.
Copied from Perforce
Change: 191229
ServerID: perforce.ravenbrook.com
2016-04-19 13:28:00 +01:00
Gareth Rees
94234f7ce9
No need to declare or set vmem1 if we are not going to use it. this avoids "variable ‘vmem1’ set but not used" warning from gcc.
...
Copied from Perforce
Change: 191199
ServerID: perforce.ravenbrook.com
2016-04-16 14:14:31 +01:00
Gareth Rees
b6f2ae3d67
Remove tracestatcondemn event -- contains no information not already emitted by the tracestart event.
...
Copied from Perforce
Change: 191185
ServerID: perforce.ravenbrook.com
2016-04-16 12:41:38 +01:00
Gareth Rees
aabe4992eb
Compile out statistic declarations in non-statistical varieties (at the cost of some syntax checking).
...
Add some missing STATISTIC guards where statistics are used.
Add design documentation.
Avoid unnecessary distinction between STATISTIC and STATISTIC_STAT (both result in statements).
Copied from Perforce
Change: 191178
ServerID: perforce.ravenbrook.com
2016-04-16 12:07:10 +01:00
Gareth Rees
0f44970f70
Snc contains formatted objects and so must get its alignment from the format.
...
Copied from Perforce
Change: 191142
ServerID: perforce.ravenbrook.com
2016-04-14 15:45:41 +01:00
Gareth Rees
aea3930a48
Add missing test target sncss.exe.
...
Copied from Perforce
Change: 191139
ServerID: perforce.ravenbrook.com
2016-04-14 15:35:12 +01:00
Gareth Rees
a69a06ee56
Avoid "warning c4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)" from microsoft visual c.
...
Copied from Perforce
Change: 191138
ServerID: perforce.ravenbrook.com
2016-04-14 15:33:33 +01:00
Gareth Rees
729a0e6331
Avoid unused variable class in landabsdescribe.
...
Copied from Perforce
Change: 191117
ServerID: perforce.ravenbrook.com
2016-04-14 13:24:10 +01:00
Gareth Rees
dd8f8c0906
Merge branch/2015-08-11/compact into the master sources.
...
Copied from Perforce
Change: 191113
ServerID: perforce.ravenbrook.com
2016-04-14 12:49:13 +01:00
Gareth Rees
ccbeb529f9
Add missing macro discard_exp.
...
Copied from Perforce
Change: 191110
ServerID: perforce.ravenbrook.com
2016-04-14 12:07:51 +01:00
Gareth Rees
034d378148
Merge branch/2014-10-11/snc into the master sources.
...
Copied from Perforce
Change: 191102
ServerID: perforce.ravenbrook.com
2016-04-13 17:52:34 +01:00
Richard Brooksby
eb308da308
Eliminating poolpoollo, lopool, segloseg, losegseg in favour of mustbea etc.
...
Copied from Perforce
Change: 191094
ServerID: perforce.ravenbrook.com
2016-04-13 15:52:33 +01:00
Richard Brooksby
8fe47c986c
Eliminating seg2amcseg and amcseg2seg in favour of mustbea.
...
Copied from Perforce
Change: 191093
ServerID: perforce.ravenbrook.com
2016-04-13 15:11:15 +01:00
Richard Brooksby
0363bd0989
Removing extraenous blank line.
...
Copied from Perforce
Change: 191074
ServerID: perforce.ravenbrook.com
2016-04-13 13:34:18 +01:00
Gareth Rees
63b2875a62
Fix call broken by catch-up merge.
...
Copied from Perforce
Change: 191066
ServerID: perforce.ravenbrook.com
2016-04-13 13:13:41 +01:00