Richard Brooksby
3aa3ff624c
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
c2cd61b47c
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
5a2c98c2ca
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
ebfd52068a
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
9e03b9049c
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
04b22f8614
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
baf5f02ce5
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
624a943bd0
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
f53a5e569d
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
e213d1f562
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
fdc6f3ba6b
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
452dfeb865
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
d90ad57864
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
5b87a6f8ff
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
29635c0cef
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
2a62a5ac8d
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
cc9f992526
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
f04797a18c
Unused variable.
...
Copied from Perforce
Change: 179390
ServerID: perforce.ravenbrook.com
2012-09-10 13:44:34 +01:00
David Lovemore
06aa616219
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
c88a95c2b9
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
f699efff8b
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
c12fc3dc88
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
5054188202
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
dd039bfbdc
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
6db2c18143
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
6dcc1dc963
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
fd38e98e00
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
7fe5eb221e
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
869bf43521
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
f748ad2b28
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
ad1d34eb37
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
d0f6b8b952
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
4c51d72b56
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
b82e27dfa6
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
6b417b80d3
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
e6e620f76c
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
b6043c7a01
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
e55eefd3d5
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
4d29fb153b
Catch-up merge from master.
...
Copied from Perforce
Change: 179284
ServerID: perforce.ravenbrook.com
2012-09-05 22:51:25 +01:00
Richard Brooksby
c79da82065
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
aede28b20f
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
70c510c23e
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
1d42c13c25
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
222d6ffaed
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
81104ff2ff
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
1d2a377fdf
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
b09c142565
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
3a8367dc4d
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
d851f32dcf
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
f0bb61b035
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