Gareth Rees
20b2cbf95e
Don't assert splayhasupdate(splay) -- otherwise plain cbs does not work.
...
landtest now exercises CBS and CBSZoned as well as CBSFast.
Delete fbmtest (superseded by landtest).
Copied from Perforce
Change: 194807
2018-07-31 09:38:13 +01:00
Gareth Rees
559d15ec2d
Git fusion moved to perforce.ravenbrook.com; update procedure accordingly.
...
Copied from Perforce
Change: 194802
2018-07-30 15:18:21 +01:00
Gareth Rees
a578a34b66
Fix links to git fusion procedures.
...
Copied from Perforce
Change: 194793
2018-07-30 12:42:36 +01:00
Gareth Rees
6c3db77cf2
Look-behind requires a fixed-width pattern.
...
Copied from Perforce
Change: 194787
2018-07-30 12:24:41 +01:00
Gareth Rees
147e3923b8
Avoid "unused variable _mps_wt" warning from gcc.
...
Copied from Perforce
Change: 194776
2018-07-30 11:55:00 +01:00
Gareth Rees
e02bc1a864
Suppress "may be used uninitialized" warnings from gcc.
...
Copied from Perforce
Change: 194775
2018-07-30 11:52:41 +01:00
Gareth Rees
c46a2726bd
Fix compilation for platform ananmv: ssan.c was deleted.
...
Copied from Perforce
Change: 194774
2018-07-30 11:52:00 +01:00
Gareth Rees
f482816cea
Undo change 194718 (merge branch/2016-03-31/page-sparering-elim into the master sources) because of performance regression < https://info.ravenbrook.com/mail/2018/07/29/16-19-19/0/ >
...
Copied from Perforce
Change: 194755
2018-07-29 19:37:31 +01:00
Gareth Rees
ba7844ea82
Fix condition.
...
Copied from Perforce
Change: 194727
2018-07-24 07:46:56 +01:00
Gareth Rees
1dd87de76c
Fix typo.
...
Copied from Perforce
Change: 194726
2018-07-24 07:44:26 +01:00
Gareth Rees
3e5e24d414
Merge branch/2016-03-31/page-sparering-elim into the master sources.
...
Copied from Perforce
Change: 194718
2018-07-23 11:57:28 +01:00
Gareth Rees
5ba5e57142
Merge branch/2016-03-30/tract-p-elim into the master sources.
...
Copied from Perforce
Change: 194716
2018-07-23 11:31:47 +01:00
Gareth Rees
a634c1405e
Assertion is on the critical path, so conerr/59.c only passes in the cool variety.
...
Copied from Perforce
Change: 194713
2018-07-23 11:14:54 +01:00
Gareth Rees
5c8e6891bb
Update mmqa tests to cope with the removal of mv:
...
* Fix typo in argerr/41.c.
* Delete argerr/43.c and argerr/44.c: MVFF doesn't take a maximum size argument so we can't test for erroneous values of this argument.
* Fix assertion condition in conerr/59.c.
* In function/136.c, need to specify extend-by for second pool, now that it's an MVFF pool.
* function/224.c now passes (fragmentation is avoided because MVFF allocations can cross extent boundaries).
Copied from Perforce
Change: 194712
2018-07-23 11:05:31 +01:00
Gareth Rees
33f0739638
Correct comment following review by dl < https://info.ravenbrook.com/mail/2018/07/19/09-55-18/0/ >
...
Copied from Perforce
Change: 194709
2018-07-23 10:58:30 +01:00
Gareth Rees
b01929e8fb
Fix indentation in globalsdescribe.
...
Copied from Perforce
Change: 194708
2018-07-23 10:38:47 +01:00
Gareth Rees
e93f962230
Merge branch/2018-07-09/seg-alloc into the master sources.
...
Copied from Perforce
Change: 194690
2018-07-19 06:25:51 +01:00
Gareth Rees
8ace350062
Merge branch/2016-04-16/trace-gens into the master sources.
...
Copied from Perforce
Change: 194685
2018-07-18 18:53:05 +01:00
Gareth Rees
9aa717b701
Fix issues identified in review by dl < https://info.ravenbrook.com/mail/2018/07/16/12-13-15/0/ >.
...
Copied from Perforce
Change: 194677
2018-07-16 15:26:47 +01:00
Gareth Rees
74df9f7f35
Fix issues identified in review by gdr < https://info.ravenbrook.com/mail/2018/07/16/13-54-48/0/ >
...
Copied from Perforce
Change: 194674
2018-07-16 15:00:30 +01:00
Gareth Rees
9241654860
Catch-up merge from master sources at changelevel 194668 to branch/2016-03-30/tract-p-elim.
...
Copied from Perforce
Change: 194671
2018-07-16 13:00:33 +01:00
Gareth Rees
08ca826368
Ensure that mmqa tests require either a pass or a specified failure.
...
Copied from Perforce
Change: 194668
2018-07-16 12:57:42 +01:00
Gareth Rees
82a5471520
Use the functions comment(), report() and vreport() to ensure that assertion and error output is correctly formatted and the intention is clear.
...
Copied from Perforce
Change: 194667
2018-07-16 12:51:41 +01:00
Gareth Rees
99e261770e
Catch-up merge from master sources at changelevel 194657 to branch/2016-03-30/tract-p-elim.
...
Copied from Perforce
Change: 194661
2018-07-16 09:31:11 +01:00
Gareth Rees
9ebe13a309
Reference the design.
...
Copied from Perforce
Change: 194657
2018-07-15 20:41:07 +01:00
Gareth Rees
2b0fec987d
Clean up function definitions: no need for "extern"; opening brace goes on new line.
...
Copied from Perforce
Change: 194654
2018-07-15 19:05:39 +01:00
Gareth Rees
55305914da
Fix the mortality of the world to avoid runaway feedback between the dynamic criterion and the mortality of the arena's top generation as described in < https://info.ravenbrook.com/mail/2018/07/13/19-53-23/0/ >.
...
Copied from Perforce
Change: 194648
2018-07-13 20:56:08 +01:00
Gareth Rees
ac44f15a4d
Generation's computed mortality has denominator of condemned memory (not new memory), so use the same denominator when predicting the mortality for a trace.
...
Simpler to compute predicted mortality as casualties/condemned instead of 1 - survivors/condemned.
Copied from Perforce
Change: 194645
2018-07-13 19:31:23 +01:00
Gareth Rees
315c0e3a1d
Merge branch/2018-07-07/roots-walk into the master sources.
...
Copied from Perforce
Change: 194642
2018-07-13 16:41:08 +01:00
Gareth Rees
768b4eb2bd
Merge branch/2016-03-30/tract-white-elim into the master sources.
...
Copied from Perforce
Change: 194638
2018-07-13 13:09:26 +01:00
Gareth Rees
fff12a7c52
Fix typo spotted by dl in review < https://info.ravenbrook.com/mail/2018/07/13/11-32-37/0/ >
...
Copied from Perforce
Change: 194637
2018-07-13 13:03:50 +01:00
Gareth Rees
99260e46d6
Generation's computed mortality has denominator of condemned memory (not new memory), so use the same denominator when predicting the mortality for a trace.
...
Simpler to compute predicted mortality as casualties/condemned instead of 1 - survivors/condemned.
Copied from Perforce
Change: 194634
2018-07-13 12:07:54 +01:00
Gareth Rees
032bd714e0
Catch-up merge from master sources at changelevel 194628.
...
Copied from Perforce
Change: 194631
2018-07-13 11:28:36 +01:00
Gareth Rees
1ef415715f
Must get the new size of the generation before condemning it (afterwards, the condemned memory is accounted as "old", not "new").
...
Copied from Perforce
Change: 194628
2018-07-13 10:55:30 +01:00
Gareth Rees
b1e3bd9932
Improve describe output for generations.
...
Must take SegBase(seg) before reclaiming the segment in case it gets destroyed.
Copied from Perforce
Change: 194624
2018-07-12 09:47:29 +01:00
Gareth Rees
21e6672e70
Reclaim the same generations that were condemned.
...
Copied from Perforce
Change: 194621
2018-07-12 07:51:04 +01:00
Gareth Rees
5beafc39b9
catch-up merge from master sources at changelevel 194605 to branch/2016-03-30/tract-p-elim.
...
Copied from Perforce
Change: 194617
2018-07-11 21:52:22 +01:00
Gareth Rees
90f5f01b84
Update common assertions in the manual.
...
Convert capacity to bytes once on initialization rather than every time it is used.
Copied from Perforce
Change: 194612
2018-07-11 21:27:47 +01:00
Gareth Rees
c692e2b6e0
Represent the set of generations condemned for a trace.
...
Eliminate duplication between policyCondemnChain and traceCondemnAll.
Compute better mortality estimate for collection of the world.
Copied from Perforce
Change: 194611
2018-07-11 21:14:43 +01:00
Gareth Rees
3a0db10599
Catch-up merge from master sources at changelevel 194605 to branch/2016-04-16/trace-gens.
...
Copied from Perforce
Change: 194608
2018-07-11 19:09:05 +01:00
Gareth Rees
708944f463
Update manual to match the code.
...
Copied from Perforce
Change: 194605
2018-07-11 17:52:50 +01:00
Gareth Rees
97fa28e3b7
There is now no difference between the sets of sources for compilers mv and pc, so eliminate the duplication.
...
Copied from Perforce
Change: 194602
2018-07-11 17:09:07 +01:00
Gareth Rees
b68376aa8c
Mmqa tests function/{7,21,22}.c now pass on 32-bit platforms.
...
MMQA tests function/{8,98}.c now pass on 64-bit platforms.
Copied from Perforce
Change: 194599
2018-07-11 16:24:47 +01:00
Gareth Rees
fb07882ddf
Correct file type to text+k.
...
Copied from Perforce
Change: 194596
2018-07-11 15:24:16 +01:00
Gareth Rees
590850726a
Merge branch/2014-10-26/sc into the master sources.
...
Copied from Perforce
Change: 194595
2018-07-11 15:20:49 +01:00
Gareth Rees
13e3f5d1cd
Assert that stackhot gives us an address that's warmer than the jump buffer, as suggested by nb.
...
Copied from Perforce
Change: 194594
2018-07-11 15:02:19 +01:00
Gareth Rees
b4068ba48c
Attribute_noinline is not needed by the smoke tests.
...
Copied from Perforce
Change: 194590
2018-07-11 14:44:28 +01:00
Gareth Rees
9b4f5dfc0e
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: 194586
2018-07-11 13:13:17 +01:00
Gareth Rees
99d0b6393c
Avoid "warning c4312: 'type cast': conversion from 'unsigned int' to 'addr' of greater size" from microsoft visual c.
...
Copied from Perforce
Change: 194583
2018-07-11 12:56:00 +01:00
Gareth Rees
1dc8b245f0
Ssixi3.c and ssixi6.c were deleted, so don't try to compile them.
...
Copied from Perforce
Change: 194580
2018-07-11 11:08:56 +01:00