Gareth Rees
21585896dd
Just report the performance ratio, don't fail if it's too large (to avoid continuous integration failures).
...
Copied from Perforce
Change: 191486
ServerID: perforce.ravenbrook.com
2016-04-21 15:33:08 +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
ebe1cfa9cc
Minor clarification.
...
Copied from Perforce
Change: 191437
ServerID: perforce.ravenbrook.com
2016-04-21 11:10:18 +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
087dd9dec9
Branching master to branch/2016-04-21/ld-history.
...
Copied from Perforce
Change: 191410
ServerID: perforce.ravenbrook.com
2016-04-21 09:06:03 +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
Gareth Rees
96e6cd054d
Discuss a possible better solution than the collectworldallowed flag.
...
Copied from Perforce
Change: 191360
ServerID: perforce.ravenbrook.com
2016-04-20 14:24:01 +01:00
Gareth Rees
6f675c3862
Install dc (the unix desk calculator) so that testratio can compute performance ratios.
...
Copied from Perforce
Change: 191352
ServerID: perforce.ravenbrook.com
2016-04-20 13:53:15 +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
f91dbd333d
Release notes.
...
Copied from Perforce
Change: 191319
ServerID: perforce.ravenbrook.com
2016-04-20 09:39:50 +01:00
Gareth Rees
e3f176bace
Release notes.
...
Copied from Perforce
Change: 191318
ServerID: perforce.ravenbrook.com
2016-04-20 09:35:37 +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
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
cbacf0a300
Document the updated interface to policystarttrace.
...
Copied from Perforce
Change: 191293
ServerID: perforce.ravenbrook.com
2016-04-19 20:08:52 +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
0078b1cb71
Merge branch/2016-04-16/statistic.
...
Copied from Perforce
Change: 191281
ServerID: perforce.ravenbrook.com
2016-04-19 18:31:15 +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
d093a4b685
Branching master to branch/2016-04-19/job004011.
...
Copied from Perforce
Change: 191260
ServerID: perforce.ravenbrook.com
2016-04-19 17:23:38 +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
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
Gareth Rees
7b40c1d5a2
Branching master to branch/2016-04-19/job004007.
...
Copied from Perforce
Change: 191219
ServerID: perforce.ravenbrook.com
2016-04-19 11:48:29 +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
8e78fbb2f6
Fix typos and document restrictions on gather argument.
...
Copied from Perforce
Change: 191184
ServerID: perforce.ravenbrook.com
2016-04-16 12:40:54 +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
44b48cba61
Branching master to branch/2016-04-16/statistic.
...
Copied from Perforce
Change: 191168
ServerID: perforce.ravenbrook.com
2016-04-16 09:58:58 +01:00
Gareth Rees
c2e56d9bf8
Add "format->poolcount == 0" to the list of common assertions.
...
Copied from Perforce
Change: 191159
ServerID: perforce.ravenbrook.com
2016-04-15 08:11:05 +01:00
Gareth Rees
b6aacbc27b
Quote %test_cases_db% in case the current directory contains shell metacharacters (as it does on jenkins).
...
Copied from Perforce
Change: 191150
ServerID: perforce.ravenbrook.com
2016-04-14 16:59:26 +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
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
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
Gareth Rees
da01c768e0
Explain the purpose of allocation frames and the snc pool.
...
Copied from Perforce
Change: 191078
ServerID: perforce.ravenbrook.com
2016-04-13 13:52:30 +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
Gareth Rees
77b12d3ee7
Catch-up merge from master sources to branch/2014-10-11/snc.
...
Copied from Perforce
Change: 191065
ServerID: perforce.ravenbrook.com
2016-04-13 13:07:19 +01:00
Gareth Rees
13f8353d6e
A lightweight pop is not safe for automatically managed pools, so check attrgc first.
...
Copied from Perforce
Change: 191055
ServerID: perforce.ravenbrook.com
2016-04-13 11:55:35 +01:00
Richard Brooksby
f650061dab
Guarding eventinit with the global lock, and removing the enforcement of the reference count, so that the event system can be used from classes, which get called before any arena.
...
Copied from Perforce
Change: 191018
ServerID: perforce.ravenbrook.com
2016-04-12 18:16:06 +01:00
Gareth Rees
13ec8a0e2c
When growing an arena: (i) don't create a chunk that's too small for the allocation that's going to follow; (ii) don't create a chunk that's larger than necessary.
...
Copied from Perforce
Change: 190952
ServerID: perforce.ravenbrook.com
2016-04-11 20:33:38 +01:00
Gareth Rees
0616a12652
Arenacompact can be called via tracedestroyinit too.
...
Copied from Perforce
Change: 190949
ServerID: perforce.ravenbrook.com
2016-04-11 19:47:52 +01:00
Gareth Rees
470b157620
Fix mistake (need trace->arena here).
...
Copied from Perforce
Change: 190948
ServerID: perforce.ravenbrook.com
2016-04-11 19:47:11 +01:00