Gareth Rees
967b61398d
Replace mv debug with mvff debug.
...
Remove some remaining occurrences of mpscvm.h.
Copied from Perforce
Change: 194865
2018-08-02 14:20:23 +01:00
Gareth Rees
faaa5287b7
Remove the mv compatibility shim and update the manual.
...
Copied from Perforce
Change: 194844
2018-08-01 13:26:33 +01:00
Gareth Rees
4e8de8d42e
Replace deprecatd mv with mvff in test cases.
...
Delete eventrep and replay modules -- these have been broken for a long time.
Copied from Perforce
Change: 194843
2018-08-01 13:10:09 +01:00
Gareth Rees
0fcb0ecf90
Introduce a count of the "system" pools (that is, those remaining when arenadestroy is called), so that arena classes can add new ones.
...
Copied from Perforce
Change: 194812
2018-07-31 13:35:22 +01:00
Gareth Rees
c3fcb052a2
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
90ce629218
Suppress "may be used uninitialized" warnings from gcc.
...
Copied from Perforce
Change: 194775
2018-07-30 11:52:41 +01:00
Gareth Rees
0b84912817
Fix compilation for platform ananmv: ssan.c was deleted.
...
Copied from Perforce
Change: 194774
2018-07-30 11:52:00 +01:00
Gareth Rees
82716d0bd5
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
4605fc687f
Fix condition.
...
Copied from Perforce
Change: 194727
2018-07-24 07:46:56 +01:00
Gareth Rees
dc62d27f4c
Fix typo.
...
Copied from Perforce
Change: 194726
2018-07-24 07:44:26 +01:00
Gareth Rees
4f612b4db0
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
51e582b4a2
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
b339ac4b8f
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
652ce0dae8
Fix indentation in globalsdescribe.
...
Copied from Perforce
Change: 194708
2018-07-23 10:38:47 +01:00
Gareth Rees
2448783b2d
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
6e4fc6323e
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
8304f35485
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
6d30dca56b
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
581c649095
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
72001fd9d2
Reference the design.
...
Copied from Perforce
Change: 194657
2018-07-15 20:41:07 +01:00
Gareth Rees
817f014bd3
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
b60a1636fc
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
a8bcb796a7
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
3a901f73b8
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
d28e35b1b3
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
326a8c6bbd
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
6684c5d10f
Catch-up merge from master sources at changelevel 194628.
...
Copied from Perforce
Change: 194631
2018-07-13 11:28:36 +01:00
Gareth Rees
7d956be9ce
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
5bd92654df
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
9410be10b5
Reclaim the same generations that were condemned.
...
Copied from Perforce
Change: 194621
2018-07-12 07:51:04 +01:00
Gareth Rees
164f0b1214
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
f65c8fdfdb
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
c3fd9d5ba7
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
880b97bfb1
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
602564a4e1
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
eb34c8c1ea
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
da3e952e73
Attribute_noinline is not needed by the smoke tests.
...
Copied from Perforce
Change: 194590
2018-07-11 14:44:28 +01:00
Gareth Rees
539f327335
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
a639813270
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
Gareth Rees
60b4e0639b
Force stackhot not to be inlined, avoiding the problem described in < https://info.ravenbrook.com/mail/2018/07/11/09-48-49/0/ >
...
Copied from Perforce
Change: 194577
2018-07-11 10:57:28 +01:00
Gareth Rees
83256946e6
Merge branch 2016-03-27/cbs-tidy into the master sources.
...
Copied from Perforce
Change: 194572
2018-07-10 15:31:25 +01:00
Gareth Rees
d2e619b743
New bufferfill and bufferempty methods on segments.
...
Copied from Perforce
Change: 194568
2018-07-10 15:02:18 +01:00
Gareth Rees
cbd9bedbf1
Justify invalidation in rangefinish, as suggested by rb < https://info.ravenbrook.com/mail/2018/07/10/11-01-54/0/ >
...
Copied from Perforce
Change: 194560
2018-07-10 12:13:33 +01:00
Gareth Rees
83ff561110
Update copyright as suggested by dl in review < https://info.ravenbrook.com/mail/2018/07/10/09-59-36/0/ >
...
Copied from Perforce
Change: 194555
2018-07-10 11:22:18 +01:00
Gareth Rees
93eb55b739
Add awl to gcbench.
...
Copied from Perforce
Change: 194552
2018-07-10 10:06:19 +01:00
Gareth Rees
3fde81f1f4
Better position for comment.
...
Update manual.
Copied from Perforce
Change: 194511
2018-07-08 08:08:05 +01:00
Gareth Rees
764c0e1235
In mps_arena_roots_walk, don't call traceaddwhite to whiten a segment, as this calls segwhiten which has undesirable side-effects, including breaking formatting objects walking. instead, call segsetwhite to make the segment white, and set the trace's white summary to the universe.
...
Add cross-reference from second-stage test in _mps_fix2 so that if the white set test is changed, the roots walking code can be changed to match.
In walkt0, add a smoke test for mps_arena_roots_walk.
Copied from Perforce
Change: 194507
2018-07-07 22:23:24 +01:00
Gareth Rees
04ece0abac
Need to capture the stack in mps_arena_roots_walk, as explained in design.mps.stack-scan.anal.entry-points.
...
Copied from Perforce
Change: 194497
2018-07-07 21:30:00 +01:00
Gareth Rees
353768d313
Fix issues identified in review by gdr < https://info.ravenbrook.com/mail/2018/07/07/15-54-49/0/ >
...
Copied from Perforce
Change: 194494
2018-07-07 19:23:58 +01:00
Gareth Rees
616318e3ce
Fumbled the merge.
...
Copied from Perforce
Change: 194488
2018-07-06 21:47:19 +01:00