1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 19:10:37 -08:00
Commit graph

6901 commits

Author SHA1 Message Date
Gareth Rees
2b3fbbb8d3 New pool method poolsegpoolgen gets the pool generation for a segment. (this allows the segment whiten and reclaim methods not to need to know the pool class.)
Copied from Perforce
 Change: 193084
 ServerID: perforce.ravenbrook.com
2017-03-31 13:28:25 +01:00
Gareth Rees
d8a5c865ba Since we know that a segment belongs to a pool with a format at the point where we call segwalk, it makes sense to pass the format.
Copied from Perforce
 Change: 193079
 ServerID: perforce.ravenbrook.com
2017-03-31 09:15:41 +01:00
Gareth Rees
28814fc67c Avoid "result of 32-bit shift implicitly converted to 64 bits" warning from visual c.
Check AWL pool generation.
Update design.

Copied from Perforce
 Change: 193076
 ServerID: perforce.ravenbrook.com
2017-03-31 09:03:38 +01:00
Gareth Rees
178c269987 Move alignshift to pool structure allows us to eliminate duplicate code between awl and lo.
Copied from Perforce
 Change: 193071
 ServerID: perforce.ravenbrook.com
2017-03-31 08:41:14 +01:00
Gareth Rees
c9041d407b Only walk segments belonging to pools with an object format.
Copied from Perforce
 Change: 193066
 ServerID: perforce.ravenbrook.com
2017-03-31 08:05:59 +01:00
Gareth Rees
5077e27813 Check that arena, buffer, land classes override sets of related methods.
Copied from Perforce
 Change: 193060
 ServerID: perforce.ravenbrook.com
2017-03-30 20:43:43 +01:00
Gareth Rees
d02a8f277e Check that segment classes override sets of related methods.
Add missing finish functions amcSegFinish, mrgLinkSegFinish, mrgRefSegFinish, sncSegFinish.
Check all class constructor results.

Copied from Perforce
 Change: 193055
 ServerID: perforce.ravenbrook.com
2017-03-30 11:37:41 +01:00
Gareth Rees
ab554bc110 Avoid "format may be used uninitialized" warning.
Copied from Perforce
 Change: 193050
 ServerID: perforce.ravenbrook.com
2017-03-30 10:42:40 +01:00
Gareth Rees
dd1b5b2f27 No need for poolclassmixinscan and abstractscanpool.
Copied from Perforce
 Change: 193045
 ServerID: perforce.ravenbrook.com
2017-03-30 10:23:15 +01:00
Gareth Rees
b295670a76 Changing segnowalk to segtrivwalk avoids the need for attrfmt (now we can walk all segments).
Copied from Perforce
 Change: 193044
 ServerID: perforce.ravenbrook.com
2017-03-30 10:18:22 +01:00
Gareth Rees
4c9f14729f Move access method from pool class to segment class.
Copied from Perforce
 Change: 193039
 ServerID: perforce.ravenbrook.com
2017-03-30 09:55:37 +01:00
Gareth Rees
6e53fd80e0 Remove unused variable pool.
Copied from Perforce
 Change: 193034
 ServerID: perforce.ravenbrook.com
2017-03-30 09:19:54 +01:00
Gareth Rees
fe3e310894 Update design to reflect movement of fix and fixemergency methods from pool class to segment class.
Copied from Perforce
 Change: 193033
 ServerID: perforce.ravenbrook.com
2017-03-30 09:16:43 +01:00
Gareth Rees
109dabad27 Move walk method from pool class to segment class.
Copied from Perforce
 Change: 193028
 ServerID: perforce.ravenbrook.com
2017-03-30 08:54:35 +01:00
Gareth Rees
45e05c62cd Move fix and fixemergency methods from pool class to segment class.
Copied from Perforce
 Change: 193023
 ServerID: perforce.ravenbrook.com
2017-03-30 08:09:14 +01:00
Gareth Rees
10e9331822 Remove unused fixclosure field from trace and scanstate structures.
Copied from Perforce
 Change: 193018
 ServerID: perforce.ravenbrook.com
2017-03-30 07:14:10 +01:00
Gareth Rees
1cb3265e80 Move scan method from pool class to segment class.
Copied from Perforce
 Change: 193012
 ServerID: perforce.ravenbrook.com
2017-03-29 19:17:17 +01:00
Gareth Rees
de269de563 Move reclaim method from pool class to segment class.
Copied from Perforce
 Change: 193007
 ServerID: perforce.ravenbrook.com
2017-03-29 17:13:45 +01:00
Gareth Rees
bfe43c367e Move whiten method from pool class to segment class.
Copied from Perforce
 Change: 193002
 ServerID: perforce.ravenbrook.com
2017-03-29 16:22:14 +01:00
Gareth Rees
826b74a030 Move greyen method from pool class to segment class.
Copied from Perforce
 Change: 192997
 ServerID: perforce.ravenbrook.com
2017-03-29 15:58:32 +01:00
Gareth Rees
6dabd6de2b Move the blacken method from the pool class to the segment class.
Copied from Perforce
 Change: 192994
 ServerID: perforce.ravenbrook.com
2017-03-29 15:32:17 +01:00
Gareth Rees
bdeaaad453 Branching master to branch/2017-03-04/seg-methods.
Copied from Perforce
 Change: 192947
 ServerID: perforce.ravenbrook.com
2017-03-04 13:51:17 +00:00
Gareth Rees
b9ae05b94f Remove undocumented plinth function mps_lib_assert_fail_expr and rewrite assertp macro to call documented plinth function mps_lib_assert_fail instead.
Copied from Perforce
 Change: 192941
 ServerID: perforce.ravenbrook.com
2017-03-04 11:17:11 +00:00
Gareth Rees
e9df5d6a35 Remove used epvmdefaultsubsequentsegsize.
Copied from Perforce
 Change: 192938
 ServerID: perforce.ravenbrook.com
2017-03-04 11:02:31 +00:00
Gareth Rees
cccb1c1e3c Documentation improvements.
Copied from Perforce
 Change: 192905
 ServerID: perforce.ravenbrook.com
2017-02-18 09:38:15 +00:00
Gareth Rees
4af5b181b3 Fix typos.
Copied from Perforce
 Change: 192890
 ServerID: perforce.ravenbrook.com
2017-02-11 11:30:15 +00:00
Gareth Rees
0ad43e18f7 Add release 1.116.0 to the version index.
Update branch and release tools so that releases get automatically added to the version index.

Copied from Perforce
 Change: 192761
 ServerID: perforce.ravenbrook.com
2016-11-13 11:08:30 +00:00
Gareth Rees
c14d96d9ec Update tag references in design documents so that they work in the design directory, and in the manual.
Copied from Perforce
 Change: 192748
 ServerID: perforce.ravenbrook.com
2016-11-11 10:20:02 +00:00
Gareth Rees
30d5a523b8 Remove sphinx markup, leaving pure rst.
Copied from Perforce
 Change: 192739
 ServerID: perforce.ravenbrook.com
2016-11-10 16:23:04 +00:00
Gareth Rees
154e876ab0 Correct documentation for mps_root_create_area_tagged.
Copied from Perforce
 Change: 192718
 ServerID: perforce.ravenbrook.com
2016-11-09 15:25:10 +00:00
Gareth Rees
9b24f5826a Move design.mps.finalize from old to current.
Copied from Perforce
 Change: 192663
 ServerID: perforce.ravenbrook.com
2016-10-20 13:59:21 +01:00
Gareth Rees
3389ec396f Add "cold end" and "hot end" to the glossary index.
Copied from Perforce
 Change: 192660
 ServerID: perforce.ravenbrook.com
2016-10-20 13:52:30 +01:00
Gareth Rees
147de7ba1d Brk and sbrk are obsolete.
Copied from Perforce
 Change: 192653
 ServerID: perforce.ravenbrook.com
2016-10-19 17:46:09 +01:00
Gareth Rees
e6bf341617 The opposite of "protected" is "unprotected".
Copied from Perforce
 Change: 192648
 ServerID: perforce.ravenbrook.com
2016-10-19 16:56:37 +01:00
Gareth Rees
1274e4aaf6 Remove design.mps.class-interface, merged into design.mps.pool.
Copied from Perforce
 Change: 192643
 ServerID: perforce.ravenbrook.com
2016-10-19 15:35:22 +01:00
Gareth Rees
0f4564a71b Merge design.mps.class-interface into design.mps.pool (as suggested by pekka p. pirinen on 1999-07-20).
Bring pool class method descriptions up to date.
Document bufferClass, bufferFill, bufferEmpty, totalSize, freeSize methods.
Document generic instance methods at design.mps.protocol.method.

Copied from Perforce
 Change: 192642
 ServerID: perforce.ravenbrook.com
2016-10-19 15:34:35 +01:00
Gareth Rees
577b32d481 Cherry-pick change 192595 from custom/cet/main, removing mps_addr_object. this function failed to solve the problem of decoding the stack on 64-bit windows, because the stack may need to be decoded after an mps assertion failure, in which case the arena lock is held and mps_addr_object cannot be called. we eventually solved the problem in a different way (using mps_arena_postmortem) and mps_addr_object is no longer used.
Copied from Perforce
 Change: 192637
 ServerID: perforce.ravenbrook.com
2016-10-19 14:13:38 +01:00
Gareth Rees
9f505c501d Remove unused pool class methods tracebegin and traceend.
Remove unused event AMCTraceEnd.
The fixEmergency method must have the same type as the fix method because of how they are used.

Copied from Perforce
 Change: 192636
 ServerID: perforce.ravenbrook.com
2016-10-19 14:07:20 +01:00
Gareth Rees
8019558576 Use nextmethod to call the superclass init method, instead of calling poolabsinit directly. regularize the error handling.
Copied from Perforce
 Change: 192631
 ServerID: perforce.ravenbrook.com
2016-10-19 11:34:04 +01:00
Gareth Rees
84e59c626e Bring design.mps.message up to date and move it from old to current.
Copied from Perforce
 Change: 192625
 ServerID: perforce.ravenbrook.com
2016-10-18 22:35:13 +01:00
Gareth Rees
2e7a76cc5c Regularize the signature comments, for the benefit of design.mps.sig.test.uniq.
Copied from Perforce
 Change: 192620
 ServerID: perforce.ravenbrook.com
2016-10-18 18:30:50 +01:00
Gareth Rees
c07a54b388 Remove design documents for unsupported operating systems sunos, solaris and osf/1 (protsu, sso1al, vmo1, and vmso).
Update thread-safety and version-library design documents and move them from old to current.

Copied from Perforce
 Change: 192617
 ServerID: perforce.ravenbrook.com
2016-10-18 18:30:09 +01:00
Gareth Rees
c6cc188ce9 Bring design.mps.prmc up to date with recent changes.
Copied from Perforce
 Change: 192609
 ServerID: perforce.ravenbrook.com
2016-10-15 21:25:21 +01:00
Gareth Rees
52d40d2fed Remove unused functions landcreate and landdestroy.
Copied from Perforce
 Change: 192603
 ServerID: perforce.ravenbrook.com
2016-10-14 22:30:11 +01:00
Gareth Rees
6255d80714 Avoid warnings and errors when building the manual.
Add glossary entries for "protected" and "unprotected".

Copied from Perforce
 Change: 192598
 ServerID: perforce.ravenbrook.com
2016-10-14 22:08:51 +01:00
Gareth Rees
ce8e22cd8e Split generic mutator context module into two parts: one for generic operating system (prmcan.c) and one for generic architecture (prmcanan.c).
Copied from Perforce
 Change: 192583
 ServerID: perforce.ravenbrook.com
2016-10-14 13:25:14 +01:00
Gareth Rees
a53d45c5c7 Change file types to text+k.
Copied from Perforce
 Change: 192578
 ServerID: perforce.ravenbrook.com
2016-10-14 12:40:35 +01:00
Gareth Rees
9a2d4390b5 Add discriminator to mutatorcontextstruct and implement mutatorcontextinitfault and mutatorcontextinitthread on posix/linux.
Copied from Perforce
 Change: 192577
 ServerID: perforce.ravenbrook.com
2016-10-14 12:39:50 +01:00
Gareth Rees
0e3d8e373d Add discriminator to mutatorcontextstruct and implement mutatorcontextinitfault and mutatorcontextinitthread on os x.
Copied from Perforce
 Change: 192572
 ServerID: perforce.ravenbrook.com
2016-10-14 12:04:01 +01:00
Gareth Rees
1a04431cff New modulefile prmcw3.c avoids duplication of code between prmcw3i3.c and prmcw3i6.c.
Implement MutatorContextCheck on Windows. Add AVERT(MutatorContext, context) in PoolAccess and other functions.
Document initialization functions MutatorContextInitFault and MutatorContextInitThread and implement them on Windows.
Add a union discriminator to MutatorContextStruct on Windows so that we don't accidentally try to get the stack pointer from a fault context, or the exception address from a thread context.

Copied from Perforce
 Change: 192567
 ServerID: perforce.ravenbrook.com
2016-10-14 11:53:26 +01:00