Richard Brooksby
36beebd440
Correcting return type of zonesetofrange to a zoneset.
...
Copied from Perforce
Change: 190395
ServerID: perforce.ravenbrook.com
2016-03-24 21:59:39 +00:00
Richard Brooksby
cae4514c1b
Merging branch/2016-03-13/defer-write-barrier into master sources.
...
Copied from Perforce
Change: 190380
ServerID: perforce.ravenbrook.com
2016-03-24 12:07:20 +00:00
Richard Brooksby
247396690d
Catch-up merge from master sources to branch/2016-03-11/shield-coalesce.
...
Copied from Perforce
Change: 190373
ServerID: perforce.ravenbrook.com
2016-03-24 11:08:24 +00:00
Richard Brooksby
428e8bae92
Fixing build errors on windows (w3i6mv).
...
tagtest was missing from makefiles.
Implicit conversion warning from Clock to double.
Copied from Perforce
Change: 190372
ServerID: perforce.ravenbrook.com
2016-03-24 11:04:58 +00:00
Richard Brooksby
eb1d39c425
Improving shieldflushentries to allow for delayed protection changes on shieldlower.
...
Copied from Perforce
Change: 190363
ServerID: perforce.ravenbrook.com
2016-03-23 19:03:00 +00:00
Richard Brooksby
f3b8479322
Improving commentary: the mutator is suspended, not the arena.
...
Copied from Perforce
Change: 190352
ServerID: perforce.ravenbrook.com
2016-03-23 17:55:22 +00:00
Richard Brooksby
33b28efbdb
Responding to review by nb < https://info.ravenbrook.com/mail/2016/03/22/17-19-03/0/ >.
...
Copied from Perforce
Change: 190349
ServerID: perforce.ravenbrook.com
2016-03-23 17:31:59 +00:00
Richard Brooksby
d161c0e4ee
Forgot shieldhold/shieldrelease in tracecondemnzones. caught by hot builds of amcssth.
...
Copied from Perforce
Change: 190344
ServerID: perforce.ravenbrook.com
2016-03-23 15:48:58 +00:00
Richard Brooksby
20f558f64a
Improving commentary in response to nb < https://info.ravenbrook.com/mail/2016/03/22/17-19-03/0/ >.
...
Copied from Perforce
Change: 190339
ServerID: perforce.ravenbrook.com
2016-03-23 14:37:54 +00:00
Richard Brooksby
0f3a469fa7
Responding to review by gdr < https://info.ravenbrook.com/mail/2016/03/21/21-05-49/0/ >.
...
Copied from Perforce
Change: 190336
ServerID: perforce.ravenbrook.com
2016-03-23 14:23:14 +00:00
Richard Brooksby
c1c7c0cca3
Bracketing out unused stringequal and tidying up stringlength.
...
Copied from Perforce
Change: 190333
ServerID: perforce.ravenbrook.com
2016-03-23 13:54:22 +00:00
Richard Brooksby
4204f99d67
Moving quicksort's workspace off the stack to limit mps stack usage.
...
Copied from Perforce
Change: 190332
ServerID: perforce.ravenbrook.com
2016-03-23 13:47:55 +00:00
Richard Brooksby
f8a79ec8e4
Added discussion of when it might be good to resume the mutator early in design.mps.shield.improv.resume.
...
Copied from Perforce
Change: 190329
ServerID: perforce.ravenbrook.com
2016-03-23 13:11:19 +00:00
Richard Brooksby
5bc87114ea
Counting shield holds and releases, to ensure they are nested correctly.
...
Counting the number of unsynced segments in order to check consistency.
Moving the extra shield hold for request.dylan.160098 around actual whitening, and adding a matching shield release.
Copied from Perforce
Change: 190321
ServerID: perforce.ravenbrook.com
2016-03-23 11:59:57 +00:00
Richard Brooksby
cf0ac842bc
Reorganising shield design and updating.
...
Renaming ShieldSuspend to ShieldHold and ShieldResume to ShieldRelease to reduce confusion.
Copied from Perforce
Change: 190320
ServerID: perforce.ravenbrook.com
2016-03-23 08:20:29 +00:00
Richard Brooksby
7a7913786c
Responding to review by gdr < https://info.ravenbrook.com/mail/2016/03/21/20-20-15/0/ >.
...
Copied from Perforce
Change: 190307
ServerID: perforce.ravenbrook.com
2016-03-22 16:32:10 +00:00
Richard Brooksby
6250eecb4e
Updates from review by nb < https://info.ravenbrook.com/mail/2016/03/21/18-36-14/0/ >.
...
Copied from Perforce
Change: 190304
ServerID: perforce.ravenbrook.com
2016-03-22 15:20:56 +00:00
Richard Brooksby
460f12cd75
Backing out accidental change to check.h.
...
Copied from Perforce
Change: 190263
ServerID: perforce.ravenbrook.com
2016-03-21 10:42:21 +00:00
Richard Brooksby
41218b57c9
Catch-up merge from master sources to branch/2016-03-13/defer-write-barrier.
...
Copied from Perforce
Change: 190258
ServerID: perforce.ravenbrook.com
2016-03-21 10:23:46 +00:00
Richard Brooksby
0e95c7ece8
Catch-up merge from master sources to branch/2016-03-11/shield-coalesce to pick up xcode build fix.
...
Copied from Perforce
Change: 190257
ServerID: perforce.ravenbrook.com
2016-03-21 10:09:29 +00:00
Richard Brooksby
7ec5dac2bb
Fixing language standard to c89 for the mps, except mpseventsql which uses c99 extensions such as strtoull.
...
Copied from Perforce
Change: 190254
ServerID: perforce.ravenbrook.com
2016-03-21 10:06:23 +00:00
Richard Brooksby
b77bb395da
Catch-up merge from master sources to branch/2016-03-11/shield-coalesce.
...
Copied from Perforce
Change: 190248
ServerID: perforce.ravenbrook.com
2016-03-20 15:58:20 +00:00
Richard Brooksby
e8c2a85e82
Consistent use of -std=c89 for gcc and clang on all platforms.
...
Copied from Perforce
Change: 190243
ServerID: perforce.ravenbrook.com
2016-03-20 15:57:52 +00:00
Richard Brooksby
394b28a73b
Fixing compiler warnings.
...
Copied from Perforce
Change: 190237
ServerID: perforce.ravenbrook.com
2016-03-20 12:46:50 +00:00
Richard Brooksby
548bdb35a2
Catch-up merge from master sources to branch/2016-03-11/shield-coalesce.
...
Copied from Perforce
Change: 190234
ServerID: perforce.ravenbrook.com
2016-03-20 12:46:55 +00:00
Richard Brooksby
cc0b4af900
Reinstate -ansi flag on strict clang builds, which somehow got lost.
...
Copied from Perforce
Change: 190233
ServerID: perforce.ravenbrook.com
2016-03-20 12:43:13 +00:00
Richard Brooksby
5e62e27402
Fixing splitting and merging for queued segments.
...
Copied from Perforce
Change: 190228
ServerID: perforce.ravenbrook.com
2016-03-20 01:22:15 +00:00
Richard Brooksby
a03174304d
Tearing down shield correctly.
...
Copied from Perforce
Change: 190225
ServerID: perforce.ravenbrook.com
2016-03-20 01:01:54 +00:00
Richard Brooksby
b97bd74013
Renaming shield cache to shield queue.
...
Copied from Perforce
Change: 190220
ServerID: perforce.ravenbrook.com
2016-03-20 00:46:59 +00:00
Richard Brooksby
e09dbaab0f
Promoting shield to first class structure.
...
Copied from Perforce
Change: 190219
ServerID: perforce.ravenbrook.com
2016-03-20 00:32:43 +00:00
Richard Brooksby
2469f09e6e
Improving design document with references and separating ideas from current implementation.
...
Copied from Perforce
Change: 190214
ServerID: perforce.ravenbrook.com
2016-03-19 23:31:00 +00:00
Richard Brooksby
fde3757bac
Tidying up and adding cross references to shiny new design document.
...
Copied from Perforce
Change: 190213
ServerID: perforce.ravenbrook.com
2016-03-19 23:07:53 +00:00
Richard Brooksby
a6f2928335
Removing bogus todo.
...
Copied from Perforce
Change: 190212
ServerID: perforce.ravenbrook.com
2016-03-19 19:40:00 +00:00
Richard Brooksby
ff0b6d1379
More documentation, tidying up, and cross-referencing.
...
Copied from Perforce
Change: 190205
ServerID: perforce.ravenbrook.com
2016-03-19 15:12:12 +00:00
Richard Brooksby
ca6aa07632
Tidying up, especially special assertions.
...
Copied from Perforce
Change: 190204
ServerID: perforce.ravenbrook.com
2016-03-19 14:47:54 +00:00
Richard Brooksby
d280ff5c04
Fixing missing cache flag reset when a single entry is removed in low memory situations.
...
Copied from Perforce
Change: 190199
ServerID: perforce.ravenbrook.com
2016-03-19 14:11:26 +00:00
Richard Brooksby
ff69c9af04
Separating flag for segment in shield cache from depth, clarifying code and optimising segfree somewhat.
...
Copied from Perforce
Change: 190194
ServerID: perforce.ravenbrook.com
2016-03-19 13:42:09 +00:00
Richard Brooksby
2c69ff0ce5
Avoid shield flush when finishing a segment that isn't in the cache.
...
Copied from Perforce
Change: 190193
ServerID: perforce.ravenbrook.com
2016-03-19 10:19:14 +00:00
Richard Brooksby
9172773f9c
Updating shield design and actually checking invariants in code.
...
Copied from Perforce
Change: 190192
ServerID: perforce.ravenbrook.com
2016-03-19 10:15:10 +00:00
Richard Brooksby
20a34ca17f
Importing good random number generator from testlib for use in quicksort and perhaps later in cuckoo hashing.
...
Copied from Perforce
Change: 190191
ServerID: perforce.ravenbrook.com
2016-03-19 08:57:27 +00:00
Richard Brooksby
ed69abbd66
Deferring non-urgent fixmes to todos.
...
Copied from Perforce
Change: 190190
ServerID: perforce.ravenbrook.com
2016-03-19 08:34:30 +00:00
Richard Brooksby
bb206eec14
Adding xci3ll.gmk to make it easier to test 32-bit builds on os x.
...
Copied from Perforce
Change: 190184
ServerID: perforce.ravenbrook.com
2016-03-18 15:37:53 +00:00
Richard Brooksby
536960d061
Writing a clearer quicksort with assertions.
...
Copied from Perforce
Change: 190181
ServerID: perforce.ravenbrook.com
2016-03-18 14:50:11 +00:00
Richard Brooksby
7ab4a5c7cf
Catch-up merge from master sources to branch/2016-03-13/defer-write-barrier.
...
Copied from Perforce
Change: 190175
ServerID: perforce.ravenbrook.com
2016-03-17 20:14:47 +00:00
Richard Brooksby
91a08048b7
Design documentation, commentary, and code tidying.
...
Copied from Perforce
Change: 190172
ServerID: perforce.ravenbrook.com
2016-03-17 20:04:26 +00:00
Richard Brooksby
eb8b31f059
Tidying up quicksort into an mpm utility.
...
Copied from Perforce
Change: 190171
ServerID: perforce.ravenbrook.com
2016-03-17 19:26:45 +00:00
Richard Brooksby
4d889230f9
Replacing qsort with an iterative implementation.
...
Copied from Perforce
Change: 190166
ServerID: perforce.ravenbrook.com
2016-03-17 18:22:08 +00:00
Richard Brooksby
8df13d0bff
Shield cache that grows. improving commentary.
...
Copied from Perforce
Change: 190160
ServerID: perforce.ravenbrook.com
2016-03-17 16:55:14 +00:00
Richard Brooksby
641cdc164c
Catch-up merge from master sources to branch/2016-03-11/shield-coalesce.
...
Copied from Perforce
Change: 190150
ServerID: perforce.ravenbrook.com
2016-03-17 13:53:40 +00:00
Richard Brooksby
662a1b1b9b
Allocate the shield cache. also improve commentary quite a bit.
...
Copied from Perforce
Change: 190147
ServerID: perforce.ravenbrook.com
2016-03-17 13:37:40 +00:00