1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 06:50:46 -08:00
Commit graph

4418 commits

Author SHA1 Message Date
Gareth Rees
490ee8a31c New event "arenasetemergency".
Copied from Perforce
 Change: 180479
 ServerID: perforce.ravenbrook.com
2012-11-15 14:08:13 +00:00
Gareth Rees
d522e73711 Integrate gcc compatibility fixes from scheme.c to scheme-advanced.c.
Copied from Perforce
 Change: 180476
 ServerID: perforce.ravenbrook.com
2012-11-15 11:40:09 +00:00
Gareth Rees
af8e1aad91 Integrate gcc compatibility from scheme-malloc.c to scheme.c and scheme-boehm.c.
Copied from Perforce
 Change: 180475
 ServerID: perforce.ravenbrook.com
2012-11-15 11:39:08 +00:00
Gareth Rees
4133528ded Avoid warnings under gcc:
* Use <errno.h> instead of "extern int errno;".
* Can't cast function pointer to object pointer.
* GCC's dataflow analysis wrongly thinks "end" can be used uninitialized.

Copied from Perforce
 Change: 180474
 ServerID: perforce.ravenbrook.com
2012-11-15 11:35:33 +00:00
Gareth Rees
4e75e51472 Need -std=c99 in order to use vsnprintf.
Copied from Perforce
 Change: 180473
 ServerID: perforce.ravenbrook.com
2012-11-15 11:33:54 +00:00
Gareth Rees
7043c844ae Restore "res = resok" to eventflush (removed in change 180152).
Copied from Perforce
 Change: 180471
 ServerID: perforce.ravenbrook.com
2012-11-14 17:46:03 +00:00
Gareth Rees
bd034b6eb0 Update html.
Copied from Perforce
 Change: 180468
 ServerID: perforce.ravenbrook.com
2012-11-14 14:13:19 +00:00
Gareth Rees
5e9f42cd44 Use three generations and 32 mb of address space.
Copied from Perforce
 Change: 180467
 ServerID: perforce.ravenbrook.com
2012-11-14 14:12:12 +00:00
Gareth Rees
188c288055 More knobs to tune.
Copied from Perforce
 Change: 180466
 ServerID: perforce.ravenbrook.com
2012-11-14 14:10:17 +00:00
Gareth Rees
66f0e08954 Integrate nb's changes from the measurement branch.
Copied from Perforce
 Change: 180465
 ServerID: perforce.ravenbrook.com
2012-11-14 14:09:49 +00:00
Gareth Rees
6abf20535f Events have to be inside the arena lock.
Copied from Perforce
 Change: 180463
 ServerID: perforce.ravenbrook.com
2012-11-13 17:59:41 +00:00
Gareth Rees
38000922fc Typo.
Copied from Perforce
 Change: 180461
 ServerID: perforce.ravenbrook.com
2012-11-13 15:07:49 +00:00
Nick Barnes
686ee38101 Tidy up the event pipeline.
Copied from Perforce
 Change: 180460
 ServerID: perforce.ravenbrook.com
2012-11-13 12:51:58 +00:00
Gareth Rees
323e12294f Merge documentation changes.
Copied from Perforce
 Change: 180445
 ServerID: perforce.ravenbrook.com
2012-11-11 20:44:19 +00:00
Gareth Rees
d298fea296 Document more of the entry points.
Copied from Perforce
 Change: 180444
 ServerID: perforce.ravenbrook.com
2012-11-11 20:42:56 +00:00
Gareth Rees
2974145d2d Merge "do" implementation from scheme.c into scheme-advanced.c.
Copied from Perforce
 Change: 180443
 ServerID: perforce.ravenbrook.com
2012-11-11 19:41:01 +00:00
Gareth Rees
717c7e32e4 Merge "do" implementation into scheme-boehm.c and scheme.c.
Copied from Perforce
 Change: 180442
 ServerID: perforce.ravenbrook.com
2012-11-11 19:40:17 +00:00
Gareth Rees
fd03ed65aa Implement "do".
Copied from Perforce
 Change: 180441
 ServerID: perforce.ravenbrook.com
2012-11-11 19:34:46 +00:00
Gareth Rees
9af9a934b4 Minor edits.
Copied from Perforce
 Change: 180439
 ServerID: perforce.ravenbrook.com
2012-11-10 20:29:20 +00:00
Gareth Rees
6f81d69df3 Add two new events:
* ArenaAccess for handling barrier hits;
* ArenaPoll for choosing a quantum of work.

Copied from Perforce
 Change: 180432
 ServerID: perforce.ravenbrook.com
2012-11-09 15:19:35 +00:00
Gareth Rees
2350b83b6b Use a typedef for the type of the function passed to mps_amc_apply to make the documentation clearer while remaining backwards-compatible.
(This was change 179975 but got reversed accidentally by change 180236.)

Copied from Perforce
 Change: 180431
 ServerID: perforce.ravenbrook.com
2012-11-09 11:15:16 +00:00
Gareth Rees
1e852f789c Update html.
Copied from Perforce
 Change: 180430
 ServerID: perforce.ravenbrook.com
2012-11-09 10:55:57 +00:00
Gareth Rees
1446ef3a79 Document the eventsql program.
Copied from Perforce
 Change: 180423
 ServerID: perforce.ravenbrook.com
2012-11-08 16:57:11 +00:00
Gareth Rees
a4ae02f247 Fix installation on os x (build directory is now code/xc).
On OS X, install eventsql as well as eventcnv.

Copied from Perforce
 Change: 180420
 ServerID: perforce.ravenbrook.com
2012-11-08 16:20:20 +00:00
Gareth Rees
d17e0165e4 (a very little) support for building scheme-boehm.
Copied from Perforce
 Change: 180419
 ServerID: perforce.ravenbrook.com
2012-11-08 16:11:08 +00:00
Gareth Rees
0603aac21a Frequent garbage collection often turns up problems.
Copied from Perforce
 Change: 180418
 ServerID: perforce.ravenbrook.com
2012-11-08 15:22:09 +00:00
Gareth Rees
7c32a70133 One more test case implemented.
Copied from Perforce
 Change: 180417
 ServerID: perforce.ravenbrook.com
2012-11-08 15:21:51 +00:00
Gareth Rees
57b2c283b2 Integrate promise fix from scheme to scheme-advanced.
Copied from Perforce
 Change: 180416
 ServerID: perforce.ravenbrook.com
2012-11-08 15:20:57 +00:00
Gareth Rees
efb6eb325a Oops, forgot to scan and skip promises!
Copied from Perforce
 Change: 180415
 ServerID: perforce.ravenbrook.com
2012-11-08 15:20:11 +00:00
Gareth Rees
95389d01d0 Add (gc) stub to scheme-malloc.c so we can call it from the test suite.
Copied from Perforce
 Change: 180414
 ServerID: perforce.ravenbrook.com
2012-11-08 15:19:46 +00:00
Gareth Rees
c7ef8089ab Implement full "map" and "for-each" behaviour and run test cases.
Copied from Perforce
 Change: 180410
 ServerID: perforce.ravenbrook.com
2012-11-08 14:01:51 +00:00
Gareth Rees
ce1d9fe08f Integrate "apply" fix into scheme-advanced.c.
Copied from Perforce
 Change: 180409
 ServerID: perforce.ravenbrook.com
2012-11-08 14:01:10 +00:00
Gareth Rees
7e08dab17c Integrate "apply" fix into scheme-boehm.c and scheme.c.
Copied from Perforce
 Change: 180408
 ServerID: perforce.ravenbrook.com
2012-11-08 13:55:43 +00:00
Gareth Rees
2c01ab86cf Operators need to be self-evaluating.
"apply" needs to quote the arguments to avoid them being doubly evaluated.

Copied from Perforce
 Change: 180407
 ServerID: perforce.ravenbrook.com
2012-11-08 13:53:49 +00:00
Gareth Rees
b303b0d73b Remove stub "low memory" chapter (see job003374).
Copied from Perforce
 Change: 180405
 ServerID: perforce.ravenbrook.com
2012-11-08 13:07:59 +00:00
Gareth Rees
c8325634f7 Update html.
Copied from Perforce
 Change: 180392
 ServerID: perforce.ravenbrook.com
2012-11-07 19:39:38 +00:00
Gareth Rees
7645b348a4 Amcnailrangeisunmarked needs to take arguments as client pointers and look at the nails for the corresponding base pointers.
Copied from Perforce
 Change: 180390
 ServerID: perforce.ravenbrook.com
2012-11-07 17:17:05 +00:00
Gareth Rees
a26d3809a1 Add "lockw3.c: lock->claims == 0" to list of assertions.
Copied from Perforce
 Change: 180386
 ServerID: perforce.ravenbrook.com
2012-11-07 13:43:00 +00:00
Gareth Rees
2c5e64421d Typo.
Copied from Perforce
 Change: 180379
 ServerID: perforce.ravenbrook.com
2012-11-06 23:13:55 +00:00
Gareth Rees
69ec6a0e0e Implement lots more r4rs.
Copied from Perforce
 Change: 180377
 ServerID: perforce.ravenbrook.com
2012-11-06 22:37:53 +00:00
Gareth Rees
d32dc9d43f Oops, forgot to remove mps-specific comment.
Copied from Perforce
 Change: 180376
 ServerID: perforce.ravenbrook.com
2012-11-06 19:43:21 +00:00
Gareth Rees
e8ad32e097 Boehm port of the scheme interpreter.
Copied from Perforce
 Change: 180375
 ServerID: perforce.ravenbrook.com
2012-11-06 19:25:31 +00:00
Gareth Rees
df5b7f159c Branch scheme-malloc.c to scheme-boehm.c.
Copied from Perforce
 Change: 180374
 ServerID: perforce.ravenbrook.com
2012-11-06 18:37:46 +00:00
Gareth Rees
f10f0f2b58 Typo.
Copied from Perforce
 Change: 180373
 ServerID: perforce.ravenbrook.com
2012-11-06 17:09:56 +00:00
Gareth Rees
6b89b020c5 Add public interface for mfs pool class.
Correct the documentation for MFS: constructor takes extend_by and unit_size in that order.

Copied from Perforce
 Change: 180372
 ServerID: perforce.ravenbrook.com
2012-11-06 17:08:58 +00:00
Gareth Rees
d743f8b510 Support ambiguous interior pointers in amc by checking to see if any grain in an object is nailed (not just the first grain).
AMCSegDescribe shows which grains are nailed.

Copied from Perforce
 Change: 180370
 ServerID: perforce.ravenbrook.com
2012-11-06 15:47:21 +00:00
Gareth Rees
8756115a86 "make clean" now idempotent.
Copied from Perforce
 Change: 180366
 ServerID: perforce.ravenbrook.com
2012-11-06 13:52:59 +00:00
Gareth Rees
ef1e9d50f4 More r4rs, r5rs.
Copied from Perforce
 Change: 180365
 ServerID: perforce.ravenbrook.com
2012-11-06 12:16:59 +00:00
Gareth Rees
675a07679e Avoid type pun.
Copied from Perforce
 Change: 180364
 ServerID: perforce.ravenbrook.com
2012-11-06 12:16:46 +00:00
Gareth Rees
85558f88b8 Minor edits.
Copied from Perforce
 Change: 180357
 ServerID: perforce.ravenbrook.com
2012-11-06 00:55:11 +00:00