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

839 commits

Author SHA1 Message Date
Richard Brooksby
1256fe09dc Merging deletions of obsolete mps_space_t into version 1.110. we don't want these leaking further.
Merging important fix to Scheme example to version 1.110, since we don't want a broken example leaking out.

Copied from Perforce
 Change: 179448
 ServerID: perforce.ravenbrook.com
2012-09-12 19:16:08 +01:00
Richard Brooksby
1518dc1e13 Cleaning up obsolete references to mps_space_t.
Copied from Perforce
 Change: 179446
 ServerID: perforce.ravenbrook.com
2012-09-12 18:26:06 +01:00
Richard Brooksby
425efaffb3 Another attempt at a patch for the event clock for really old versions of microsoft c.
Copied from Perforce
 Change: 179445
 ServerID: perforce.ravenbrook.com
2012-09-12 16:06:53 +01:00
Richard Brooksby
13da97d0f2 Removing dependency on microsoft c run-time __aullshr by treating the event clock as a struct in some circumstances.
Copied from Perforce
 Change: 179444
 ServerID: perforce.ravenbrook.com
2012-09-12 14:21:35 +01:00
Richard Brooksby
2547d17829 Fixing width of awl event parameters since count is notionally 64-bits wide.
Copied from Perforce
 Change: 179443
 ServerID: perforce.ravenbrook.com
2012-09-12 14:20:50 +01:00
Richard Brooksby
ce7ddee9f7 Merging recent changes from masters, including awl fix to unstick open dylan bootstrap.
Copied from Perforce
 Change: 179440
 ServerID: perforce.ravenbrook.com
2012-09-12 13:22:10 +01:00
Richard Brooksby
a9bcf5293b Reverting to assembler method of saving callee-save registers for stack scan on w3i3mv to avoid c run-time dependency that breaks open dylan bootstrap.
Copied from Perforce
 Change: 179439
 ServerID: perforce.ravenbrook.com
2012-09-12 13:18:41 +01:00
Richard Brooksby
086ecb5e4f Fixing perforce type to ktext to get keyword expansion.
Copied from Perforce
 Change: 179438
 ServerID: perforce.ravenbrook.com
2012-09-12 12:47:53 +01:00
Richard Brooksby
789066596d Configuring awl pool to give give up and scan an entire segment after 200 single access hits, after observing open dylan bootstrap on ubuntu 12 hammering the table and making no progress.
AWL pool no longer tries a single access if the trace band has reached rank WEAK, since it doesn't need to.

Copied from Perforce
 Change: 179434
 ServerID: perforce.ravenbrook.com
2012-09-11 21:21:26 +01:00
David Lovemore
346ab4aa09 Switched mps hot build to be internal, i.e. has debugging information on windows
Copied from Perforce
 Change: 179433
 ServerID: perforce.ravenbrook.com
2012-09-11 19:10:45 +01:00
Richard Brooksby
c4d25ec6e6 Patching eventcom.h to provide a fast event clock on old versions of microsoft c.
Copied from Perforce
 Change: 179431
 ServerID: perforce.ravenbrook.com
2012-09-11 18:03:28 +01:00
Richard Brooksby
dc00e06914 Fixing assumption in arenaread that we are in a trace and the segment is grey.
Copied from Perforce
 Change: 179403
 ServerID: perforce.ravenbrook.com
2012-09-10 19:04:53 +01:00
Richard Brooksby
065c419ffe Suppressing strict aliasing warning about machine context registers, and adding note about dubious safety.
Copied from Perforce
 Change: 179397
 ServerID: perforce.ravenbrook.com
2012-09-10 15:47:16 +01:00
Richard Brooksby
0a8bedb1c2 Removing local variable clash with index(3).
Copied from Perforce
 Change: 179396
 ServerID: perforce.ravenbrook.com
2012-09-10 15:46:45 +01:00
Richard Brooksby
59587ca812 Eliminating type puns that cause strict aliasing violations in some tests.
Copied from Perforce
 Change: 179394
 ServerID: perforce.ravenbrook.com
2012-09-10 15:43:02 +01:00
David Lovemore
1ece8c4ccb Remove whiteminalign handling code which was used to calculate a mask for scanning in tracescanareatagged. for now we use sizeof(word)-1, which will work for dylan and configura.
Copied from Perforce
 Change: 179393
 ServerID: perforce.ravenbrook.com
2012-09-10 15:17:38 +01:00
David Lovemore
77ecf56fc2 Made deployment target os x 10.4.
Copied from Perforce
 Change: 179391
 ServerID: perforce.ravenbrook.com
2012-09-10 14:59:05 +01:00
David Lovemore
75a1d731ba Unused variable.
Copied from Perforce
 Change: 179390
 ServerID: perforce.ravenbrook.com
2012-09-10 13:44:34 +01:00
David Lovemore
8cc0eeb220 Scan at correct rank according to the band in arenaread.
Copied from Perforce
 Change: 179385
 ServerID: perforce.ravenbrook.com
2012-09-10 12:15:20 +01:00
Richard Brooksby
1c9b8d7eb3 Removing enternal/external type puns from segregated allocation caches.
Copied from Perforce
 Change: 179383
 ServerID: perforce.ravenbrook.com
2012-09-10 11:12:28 +01:00
Richard Brooksby
75837d8376 Fixing type puns around arenapeek and arenapoke by allowing them to take a ref * to get a ref, rather than an addr.
Copied from Perforce
 Change: 179382
 ServerID: perforce.ravenbrook.com
2012-09-10 10:33:22 +01:00
Richard Brooksby
f1778b7e5b Adding some comments to late-night mps_lib_telemetry_control improvement.
Copied from Perforce
 Change: 179364
 ServerID: perforce.ravenbrook.com
2012-09-08 08:00:26 +01:00
Richard Brooksby
de3c5202f9 Allowing mps_telemetry_control to be a space-separated list of event kind names defined in eventkindenum.
Copied from Perforce
 Change: 179363
 ServerID: perforce.ravenbrook.com
2012-09-08 02:51:48 +01:00
Richard Brooksby
5a604a2f51 Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct.
Adding a pseudo-target "find-puns" which, on FreeBSD mostly, prints useful warnings about strict aliasing rule violations.
Fixing more strict aliasing rule violations found by the above.

Copied from Perforce
 Change: 179358
 ServerID: perforce.ravenbrook.com
2012-09-07 23:48:14 +01:00
Richard Brooksby
6c887280e4 Fixing type puns discovered by gcc 4.2.1 on freebsd with -o3.
Copied from Perforce
 Change: 179356
 ServerID: perforce.ravenbrook.com
2012-09-07 22:03:41 +01:00
Richard Brooksby
d6b37e23c5 Correcting use of parent in trace.c. oops.
Copied from Perforce
 Change: 179348
 ServerID: perforce.ravenbrook.com
2012-09-07 21:25:00 +01:00
Richard Brooksby
e8d345149f Adding references to critical path design.
Fixing cast from external scan state structure to a PARENT, now that we're not punning the pointer any more.

Copied from Perforce
 Change: 179347
 ServerID: perforce.ravenbrook.com
2012-09-07 20:49:05 +01:00
Richard Brooksby
e694f1c454 Merging recent review responses from branch/2012-08-23/diagnostic-telemetry.
Copied from Perforce
 Change: 179337
 ServerID: perforce.ravenbrook.com
2012-09-07 15:49:18 +01:00
Richard Brooksby
22b0358048 Responding to nb's review comments.
Copied from Perforce
 Change: 179335
 ServerID: perforce.ravenbrook.com
2012-09-07 15:46:18 +01:00
Richard Brooksby
78d5f049f0 Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface.
Now that we're recommending inlining with client code and optimising with -O2 or -O3, we can't afford any bug introduced by the strict aliasing rule.

Copied from Perforce
 Change: 179322
 ServerID: perforce.ravenbrook.com
2012-09-07 12:58:57 +01:00
Richard Brooksby
e17fee98ea Renaming duplicate mps_word_* macros in fmtdy.c so that it can be concatenated with mps.c for open dylan.
Copied from Perforce
 Change: 179314
 ServerID: perforce.ravenbrook.com
2012-09-06 18:12:30 +01:00
Richard Brooksby
1ff35a0168 Fixing xcode project to exclude table, which cet-transform moved into the mpm.
Copied from Perforce
 Change: 179310
 ServerID: perforce.ravenbrook.com
2012-09-06 17:20:42 +01:00
Richard Brooksby
858e4ac0ac Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts.
Copied from Perforce
 Change: 179309
 ServerID: perforce.ravenbrook.com
2012-09-06 17:17:18 +01:00
Richard Brooksby
383335816d Merging recent review changes from variety-reform branch.
Copied from Perforce
 Change: 179306
 ServerID: perforce.ravenbrook.com
2012-09-06 16:59:31 +01:00
Richard Brooksby
d8a499b473 Responding to nb's review of variety-reform.
https://info.ravenbrook.com/mail/2012/09/06/15-42-57/0/

Copied from Perforce
 Change: 179302
 ServerID: perforce.ravenbrook.com
2012-09-06 16:47:44 +01:00
Richard Brooksby
27c6706791 Merging branch/2012-08-21/diagnostic-telemetry.
Copied from Perforce
 Change: 179289
 ServerID: perforce.ravenbrook.com
2012-09-05 23:45:31 +01:00
Richard Brooksby
3944685a40 Making hot the default variety, so that "cc -c mps.c" comes out hot.
Copied from Perforce
 Change: 179287
 ServerID: perforce.ravenbrook.com
2012-09-05 23:04:12 +01:00
Richard Brooksby
f2938dbd9d Missing rainbow path was causing an empty /i directive, swallowing the following /dconfig_var so that all varieties came out rash!
Copied from Perforce
 Change: 179286
 ServerID: perforce.ravenbrook.com
2012-09-05 23:03:42 +01:00
Richard Brooksby
49113957f7 Catch-up merge from master.
Copied from Perforce
 Change: 179284
 ServerID: perforce.ravenbrook.com
2012-09-05 22:51:25 +01:00
Richard Brooksby
cd2eed34b4 Forgot to change "we" to "rash" in windows builds. oops.
Copied from Perforce
 Change: 179283
 ServerID: perforce.ravenbrook.com
2012-09-05 19:40:48 +01:00
Richard Brooksby
f4c593479a Downgrading recommended optimisation from -o3 to -o2.
DL is uneasy that we're safe against aliasing problems.  Will look more carefully later.

Copied from Perforce
 Change: 179282
 ServerID: perforce.ravenbrook.com
2012-09-05 19:04:04 +01:00
Richard Brooksby
e64cb01f87 Responding to dl's review comments. mostly clarifications.
Copied from Perforce
 Change: 179280
 ServerID: perforce.ravenbrook.com
2012-09-05 19:02:44 +01:00
Richard Brooksby
915c01ef3e Merging branch/2012-08-15/variety-reform.
Copied from Perforce
 Change: 179279
 ServerID: perforce.ravenbrook.com
2012-09-05 18:44:44 +01:00
Richard Brooksby
b6e7805b6f Downgrading hot optimisation from -o3 to -o2.
DL feels uneasy about -O3 until we're certain we're not breaking aliasing rules.

Copied from Perforce
 Change: 179278
 ServerID: perforce.ravenbrook.com
2012-09-05 18:20:38 +01:00
Richard Brooksby
e4313d264e Providing config_plinth_none so that open dylan can build using mps.c without depending on the c library.
Copied from Perforce
 Change: 179248
 ServerID: perforce.ravenbrook.com
2012-09-05 09:45:24 +01:00
Richard Brooksby
184d8cacf0 Using setjmp to save callee-save registers on windows, eliminating the need for an assembly language stack scanner.
Copied from Perforce
 Change: 179213
 ServerID: perforce.ravenbrook.com
2012-09-04 02:21:15 +01:00
David Lovemore
886e96ba8e Fix weak band assert. we now trace weak segments as weak on a fault if we are in the weak band.
Copied from Perforce
 Change: 179210
 ServerID: perforce.ravenbrook.com
2012-09-03 17:05:51 +01:00
Richard Brooksby
89e1236e47 Explaining why commented-out events exist in the list.
Copied from Perforce
 Change: 179204
 ServerID: perforce.ravenbrook.com
2012-09-03 15:32:22 +01:00
Richard Brooksby
8d7373042c Making note about low priority fixme task.
Copied from Perforce
 Change: 179202
 ServerID: perforce.ravenbrook.com
2012-09-03 14:49:25 +01:00
Richard Brooksby
d3d7860572 Removing unnecessary definition of _reentrant on freebsd. cc -dm -e reveals that this is not set by -pthread, and inspection of headers reveals no effect. checked on freebsd 7 and 9.
Copied from Perforce
 Change: 179201
 ServerID: perforce.ravenbrook.com
2012-09-03 14:48:51 +01:00