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
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
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
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
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
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
Gareth Rees
e5e8d034d9
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
268178f4cf
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
cf80504dbb
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
1cd422b339
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
db4c75c932
Add awl to gcbench.
...
Copied from Perforce
Change: 194552
2018-07-10 10:06:19 +01:00
Gareth Rees
061d5b9c9b
Correct diagram in .anal.entry-points (rootscan is called by rootswalk).
...
Copied from Perforce
Change: 194519
2018-07-08 21:09:21 +01:00
Gareth Rees
9dd4b519c8
Add some margin around the diagram.
...
Copied from Perforce
Change: 194518
2018-07-08 21:04:42 +01:00
Gareth Rees
1da3400c1c
Update release notes.
...
Copied from Perforce
Change: 194515
2018-07-08 08:28:09 +01:00
Gareth Rees
a0bef68a5e
Update release notes.
...
Copied from Perforce
Change: 194514
2018-07-08 08:25:01 +01:00
Gareth Rees
8d722c4a2b
Better position for comment.
...
Update manual.
Copied from Perforce
Change: 194511
2018-07-08 08:08:05 +01:00
Gareth Rees
2d7cf3c3d3
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
aed4fdb281
Branching master to branch/2018-07-07/roots-walk.
...
Copied from Perforce
Change: 194500
2018-07-07 21:40:32 +01:00
Gareth Rees
80b2832260
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
81fdc239e7
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
9893976d39
Fumbled the merge.
...
Copied from Perforce
Change: 194488
2018-07-06 21:47:19 +01:00
Gareth Rees
317cc9a5a6
Catch-up merge from master sources at changelevel 194484 to branch/2014-10-26/sc.
...
Copied from Perforce
Change: 194487
2018-07-06 21:42:35 +01:00
Gareth Rees
f1b880321b
Don't make multiple calls to controlalloc when you could just make one and divvy it up yourself.
...
Copied from Perforce
Change: 194484
2018-07-06 18:56:12 +01:00
Gareth Rees
cd9e76a6de
Check that traces with no condemned objects can be started and finished without error in each automatic pool class. regression test for job004086.
...
Copied from Perforce
Change: 194475
2018-07-06 14:26:54 +01:00
Gareth Rees
cf9dbca31c
Fix issues identified in review by gdr.
...
Copied from Perforce
Change: 194472
2018-07-06 11:48:41 +01:00
Gareth Rees
0edb390dc4
Catch-up merge from master sources at changelevel 194456 to branch/2016-03-30/tract-white-elim.
...
Copied from Perforce
Change: 194469
2018-07-06 11:06:20 +01:00
Gareth Rees
bcc01c1fd8
No need for rvalue(&(...)) -- the result of the & operator is not an lvalue.
...
Copied from Perforce
Change: 194456
2018-07-05 22:53:02 +01:00
Gareth Rees
497c9b075e
Merge branch/2018-06-18/mrgseg into the master sources.
...
Copied from Perforce
Change: 194453
2018-07-05 16:28:15 +01:00
Gareth Rees
ba03d79694
Catch-up merge from master sources at changelevel 194449 to branch/2018-06-18/mrgseg.
...
Copied from Perforce
Change: 194452
2018-07-05 16:22:24 +01:00
Gareth Rees
e89f7b44c9
Ensure that the mmqa test case is compiled using the same variety as the mps library against which it is linked, in case it needs to inspect internal mps data structures.
...
Copied from Perforce
Change: 194449
2018-07-05 15:57:33 +01:00
Gareth Rees
c868d94400
Update mpscopyrightnotice, as required by §3.1.1 of https://info.ravenbrook.com/project/mps/master/procedure/version-create
...
Copied from Perforce
Change: 194446
2018-07-05 14:55:06 +01:00
Gareth Rees
103a5763f0
Bring release notes up to date.
...
Copied from Perforce
Change: 194445
2018-07-05 14:31:09 +01:00