1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00
Commit graph

4908 commits

Author SHA1 Message Date
Gareth Rees
f19d112a1a Small fixes following review <https://info.ravenbrook.com/mail/2013/07/11/13-17-56/0/>.
Copied from Perforce
 Change: 182993
 ServerID: perforce.ravenbrook.com
2013-07-11 14:17:17 +01:00
Gareth Rees
f8c90b565e Changes from review <https://info.ravenbrook.com/mail/2013/07/10/14-38-35/0/>.
Copied from Perforce
 Change: 182986
 ServerID: perforce.ravenbrook.com
2013-07-10 15:37:27 +01:00
Richard Brooksby
905c983569 Improving references to documentation and source code.
Copied from Perforce
 Change: 182983
 ServerID: perforce.ravenbrook.com
2013-07-10 14:12:46 +01:00
Richard Brooksby
01d17882e6 Reducing unnecessary copying of thread states by passing a pointer to the state in the mutator fault context.
Copied from Perforce
 Change: 182980
 ServerID: perforce.ravenbrook.com
2013-07-05 17:43:14 +01:00
Richard Brooksby
6e1eaf7dea Enabling keyword expansion on new files.
Copied from Perforce
 Change: 182934
 ServerID: perforce.ravenbrook.com
2013-07-05 01:56:38 +01:00
Richard Brooksby
ec0739c878 Fixing a couple of comments that are out of date.
Copied from Perforce
 Change: 182932
 ServerID: perforce.ravenbrook.com
2013-07-05 01:53:51 +01:00
Richard Brooksby
7b99c420f4 Updating "signal handling issues" to "signal and exception handling issues" and documenting the situation with os x threading.
Copied from Perforce
 Change: 182930
 ServerID: perforce.ravenbrook.com
2013-07-05 01:09:29 +01:00
Richard Brooksby
09b3808c9e Catch-up merge from master to macosx-threads branch.
Copied from Perforce
 Change: 182928
 ServerID: perforce.ravenbrook.com
2013-07-05 00:56:22 +01:00
Richard Brooksby
a4b67cf92a Lots of tidying up, deleting unnecessary code, and adding documentation.
Copied from Perforce
 Change: 182926
 ServerID: perforce.ravenbrook.com
2013-07-05 00:36:13 +01:00
Richard Brooksby
30e439b2c5 Registering exception handler for each thread, rather than the whole task.
This avoids the need to forward exception messages to the debugger, since we can reasonably insist that we're the first handler in the chain for each thread.

Copied from Perforce
 Change: 182925
 ServerID: perforce.ravenbrook.com
2013-07-04 22:58:34 +01:00
Richard Brooksby
2241ede47d Minor tidying and improved documentation in the leader comment.
Copied from Perforce
 Change: 182924
 ServerID: perforce.ravenbrook.com
2013-07-04 22:11:55 +01:00
Gareth Rees
240e9a894c Move all signal handling issues to the "signal handling issues" section.
Copied from Perforce
 Change: 182919
 ServerID: perforce.ravenbrook.com
2013-07-04 15:12:21 +01:00
Gareth Rees
193cd50362 Valgrind is a better example of a library using sigusr1 and sigusr2 than linuxthreads (which seems to be defunct).
Copied from Perforce
 Change: 182916
 ServerID: perforce.ravenbrook.com
2013-07-04 14:59:45 +01:00
Gareth Rees
d7d8ffdacf Warn users not to mask sigxcpu and sigxfsz.
Copied from Perforce
 Change: 182901
 ServerID: perforce.ravenbrook.com
2013-07-03 11:21:14 +01:00
Gareth Rees
d64998d656 Improve the clarity of the documentation of arena states by adding a summary table.
Copied from Perforce
 Change: 182899
 ServerID: perforce.ravenbrook.com
2013-07-03 10:43:39 +01:00
Richard Brooksby
cf0a17c78f Fixing alloc_table in awlutth.c so that it doesn't allocate a bogus extra word. not sure how it got like this.
Copied from Perforce
 Change: 182896
 ServerID: perforce.ravenbrook.com
2013-07-02 19:18:16 +01:00
Nick Barnes
b860ecfa50 Back out changes to master mps sources made inadvertently during a branch change.
Copied from Perforce
 Change: 182891
 ServerID: perforce.ravenbrook.com
2013-07-02 15:53:46 +01:00
Nick Barnes
4afe5e9b6c Branch for ap creation key development.
Copied from Perforce
 Change: 182888
 ServerID: perforce.ravenbrook.com
2013-07-02 14:48:25 +01:00
Richard Brooksby
5a25854918 Fixing minor linux build error left over from dl's debugging.
Copied from Perforce
 Change: 182884
 ServerID: perforce.ravenbrook.com
2013-07-01 20:51:21 +01:00
Richard Brooksby
79582c17db Amcssth test was broken: didn't register the worker threads as roots, only created one worker thread, registered it twice. weird.
Copied from Perforce
 Change: 182882
 ServerID: perforce.ravenbrook.com
2013-07-01 20:04:30 +01:00
Gareth Rees
a86c3e469e No need to compile arg.c separately: included in mps.c since change 181994.
Copied from Perforce
 Change: 182877
 ServerID: perforce.ravenbrook.com
2013-07-01 11:23:59 +01:00
Richard Brooksby
96448d34a9 Initial implementation of mac os x protection exception handling using mach.
Some threading tests get quite a long way.

Copied from Perforce
 Change: 182872
 ServerID: perforce.ravenbrook.com
2013-06-29 01:22:42 +01:00
Richard Brooksby
512dca47e2 Thread scanning for mac os x / mach, and the start of thread exception handling.
Copied from Perforce
 Change: 182834
 ServerID: perforce.ravenbrook.com
2013-06-22 09:02:35 +01:00
Richard Brooksby
ac028a5fd0 Mutator fault context definitions for os x using mach.
Copied from Perforce
 Change: 182832
 ServerID: perforce.ravenbrook.com
2013-06-22 00:54:50 +01:00
Richard Brooksby
c1e5ec8f38 Implementing os x (mach) threading module.
Copied from Perforce
 Change: 182830
 ServerID: perforce.ravenbrook.com
2013-06-21 23:57:07 +01:00
Gareth Rees
31008b07ca Forgot to document thread-safety property of mps_ld_isstale_any.
Copied from Perforce
 Change: 182818
 ServerID: perforce.ravenbrook.com
2013-06-20 16:31:42 +01:00
Gareth Rees
e88bcc5184 Document the intention behind mps_ld_isstale rather than the implementation: it captures the intention of testing whether a particular dependency is stale (even though the implementation in fact tests whether any dependency is stale). add new function mps_ls_isstale_any for expressing the intention of testing whether any dependencey is stale. the two functions have the same implementation at present, but the separation gives us the freedom to return a more precise result from mps_ld_isstale in future.
Copied from Perforce
 Change: 182816
 ServerID: perforce.ravenbrook.com
2013-06-20 16:25:08 +01:00
Gareth Rees
408e6a1c24 Add #memorypoolsystem to contact page and to sidebar.
Copied from Perforce
 Change: 182809
 ServerID: perforce.ravenbrook.com
2013-06-19 15:35:31 +01:00
Gareth Rees
f9ebbf2076 Fix typo.
Copied from Perforce
 Change: 182807
 ServerID: perforce.ravenbrook.com
2013-06-19 13:34:12 +01:00
Gareth Rees
fad8da04c1 Fix typo.
Copied from Perforce
 Change: 182805
 ServerID: perforce.ravenbrook.com
2013-06-19 13:00:09 +01:00
Gareth Rees
2cf1861e8d Improvements to clarity of weak hash table implementation:
* TAG_SIZE was changed to TAG_COUNT in the code, so make the corresponding change in the manual.
* Avoid the "+= 2" hack: use TAG_COUNT(UNTAG_COUNT(...) + 1). Clarity is more important than speed here.
* Use obj_unused for unused hash table entries so that there can be no confusion between NULL meaning "unused" and NULL meaning "splatted by the garbage collector".
* Add references from the example code to the notes.

Copied from Perforce
 Change: 182804
 ServerID: perforce.ravenbrook.com
2013-06-19 12:59:49 +01:00
Gareth Rees
4bebf0ee86 Improve the discussion of testing dependencies for staleness.
Copied from Perforce
 Change: 182803
 ServerID: perforce.ravenbrook.com
2013-06-19 12:56:53 +01:00
Richard Brooksby
fac48fa5ea Fixing up restructuredtext syntax.
Copied from Perforce
 Change: 182801
 ServerID: perforce.ravenbrook.com
2013-06-19 00:13:20 +01:00
Richard Brooksby
f2888d210b Converting mps procedure documentation to restructuredtext.
Copied from Perforce
 Change: 182799
 ServerID: perforce.ravenbrook.com
2013-06-18 23:56:05 +01:00
David Lovemore
1ad79c5caa Switched mac os x threading to use thix.c and pthreadext.c.
Also switched to using platform specific Mutator Context code
so that we can read out the registers for instruction emulation
and stack scanning.
Builds on 64-bit but doesn't work because sem_init is unimplemented on
Mac OS X.
Not finished on 32-bit.

Copied from Perforce
 Change: 182791
 ServerID: perforce.ravenbrook.com
2013-06-18 16:29:31 +01:00
David Lovemore
16d8b590a5 Create branch for macos x threading.
Copied from Perforce
 Change: 182787
 ServerID: perforce.ravenbrook.com
2013-06-18 11:39:49 +01:00
Gareth Rees
25bfea8ba8 Move the poolhasrange test to pool.c so that all frees (including internal ones) get the check.
Copied from Perforce
 Change: 182783
 ServerID: perforce.ravenbrook.com
2013-06-17 17:52:25 +01:00
Richard Brooksby
07b043dda3 Adding reference to skip lists paper.
Copied from Perforce
 Change: 182763
 ServerID: perforce.ravenbrook.com
2013-06-15 22:32:35 +01:00
Richard Brooksby
14dfc3b298 Suppress warnings about uninitialized use of eof.
Copied from Perforce
 Change: 182750
 ServerID: perforce.ravenbrook.com
2013-06-15 14:38:00 +01:00
Richard Brooksby
195ffba67b Eliminating eventpro.c and simplifying event reading in eventcnv.
Copied from Perforce
 Change: 182748
 ServerID: perforce.ravenbrook.com
2013-06-15 14:24:52 +01:00
Richard Brooksby
725fd962bf Adding the scheme example to the xcode project.
Adding a simple Scheme benchmark program to stress the MPS mildly.

Copied from Perforce
 Change: 182711
 ServerID: perforce.ravenbrook.com
2013-06-12 23:30:28 +01:00
Richard Brooksby
d384362757 Ensuring that the arena passes consistency checking before calling vmarenatrivextended, by setting the zoneshift and alignment at the same time.
Copied from Perforce
 Change: 182708
 ServerID: perforce.ravenbrook.com
2013-06-12 20:02:29 +01:00
Richard Brooksby
46bc17e2a9 Catch-up merge from custom/cet/main to master, to pick up arena extension callbacks.
Copied from Perforce
 Change: 182701
 ServerID: perforce.ravenbrook.com
2013-06-12 15:33:49 +01:00
Richard Brooksby
e4ab1ce2ab Deleting manual build products from the source tree, as these are now built automatically on the web server.
Copied from Perforce
 Change: 182683
 ServerID: perforce.ravenbrook.com
2013-06-12 09:57:19 +01:00
Richard Brooksby
e7395f656d Updated manual html
Copied from Perforce
 Change: 182679
 ServerID: perforce.ravenbrook.com
2013-06-11 14:22:25 +01:00
Richard Brooksby
6773ba7ac8 Fixing copy-paste error in description of mps_message_type_enable.
Copied from Perforce
 Change: 182678
 ServerID: perforce.ravenbrook.com
2013-06-11 14:21:35 +01:00
Richard Brooksby
8e9c4008cd Adding a .p4ignore to ignore generated design documents.
Copied from Perforce
 Change: 182677
 ServerID: perforce.ravenbrook.com
2013-06-11 14:16:38 +01:00
Richard Brooksby
7b81b0a700 Removing design stub files accidentally created by merging.
Copied from Perforce
 Change: 182676
 ServerID: perforce.ravenbrook.com
2013-06-11 14:15:00 +01:00
Gareth Rees
1527e1112b Mps_key_align now used by mps_class_mvt.
Copied from Perforce
 Change: 182668
 ServerID: perforce.ravenbrook.com
2013-06-09 23:28:53 +01:00
Richard Brooksby
db78b9fb5c Adjusting statement that assertions aren't serious.
Copied from Perforce
 Change: 182652
 ServerID: perforce.ravenbrook.com
2013-06-08 22:07:44 +01:00