Eli Barzilay
2fd3c23393
Undo this change. Like I said on the list, it is wrong to poll the
...
environment variable every time it is accessed (especially given that
there will be a command-line option for this). I'll commit a proper
thing later tonight if I get to it.
svn: r17122
2009-12-01 02:16:19 +00:00
Carl Eastlund
b4a32ddc1c
Merged changes from branches/cce/plt+addon-dir:
...
- Added PLTADDONDIR environment variable to control the location of
generated files from Planet and Scribble, specifically by overriding
the result of (find-system-path 'addon-dir).
- Updated documentation of find-system-path to report this change.
svn: r17121
2009-12-01 02:10:50 +00:00
Matthew Flatt
06f231a0a7
JIT tweaks
...
svn: r17102
2009-11-30 02:52:43 +00:00
Matthew Flatt
06288a8b7f
procedure-rename special treatment of struct accessors & mutators
...
svn: r17093
2009-11-29 15:53:08 +00:00
Matthew Flatt
45b979421a
fix sequential-only processor-count
...
svn: r17091
2009-11-29 01:50:59 +00:00
Matthew Flatt
bad728f5b5
fix getenv code for Windows
...
svn: r17081
2009-11-27 14:04:35 +00:00
Eli Barzilay
335d5353f8
Welcome to a new PLT day.
...
svn: r17080
2009-11-27 08:50:32 +00:00
Matthew Flatt
d3ff146643
fix JIT bug in multi-arity arithmetic inlining
...
svn: r17076
2009-11-27 03:35:36 +00:00
Matthew Flatt
f03ab78c40
another syntax hack to fix 'scheme/package'; other test corrections
...
svn: r17075
2009-11-27 02:12:27 +00:00
Matthew Flatt
5e9ead0e26
fix unboxing offset
...
svn: r17070
2009-11-26 15:44:43 +00:00
Matthew Flatt
8365c0a938
minor clean-up
...
svn: r17069
2009-11-26 15:27:47 +00:00
Matthew Flatt
61dd4ca0b9
add unsafe-f64vector-{ref,set!} and improve JIT to inline arithmetic ops with more than 2 arguments
...
svn: r17068
2009-11-26 15:07:16 +00:00
Matthew Flatt
3492522501
fix checking of PLTNOMZJIT
...
svn: r17060
2009-11-25 18:11:55 +00:00
Kevin Tew
c5ccff770a
add scheme_init_os_thread for places mzrt threads
...
svn: r17053
2009-11-24 23:31:07 +00:00
Kevin Tew
831bac8ee3
put/getenv performance fix attempt
...
svn: r17043
2009-11-24 14:58:40 +00:00
Matthew Flatt
4d73d5ec08
fix JIT stack-chain caching for PPC (merge to 4.2.3)
...
svn: r17033
2009-11-24 10:13:04 +00:00
Matthew Flatt
dcf2991736
future fixes: continuation barrier in place, handle multiple results from a future
...
svn: r17019
2009-11-23 23:00:08 +00:00
Kevin Tew
66869a13d5
Fixes for new THREAD_LOCAL table
...
svn: r17017
2009-11-23 22:13:47 +00:00
Kevin Tew
2599cf95f8
THREAD_LOCAL Logger
...
svn: r17016
2009-11-23 21:34:29 +00:00
Kevin Tew
ce693bdb82
PLACES putenv fix
...
svn: r17011
2009-11-23 19:58:27 +00:00
Matthew Flatt
f719aac2be
scheme/future, sequential futures implementation when --enable-futures not specified; doc updates
...
svn: r16999
2009-11-23 18:12:23 +00:00
Matthew Flatt
78578a3eab
convert START_XFORM_SKIP...END_XFORM_SKIP mostly to XFORM_SKIP_PROC
...
svn: r16972
2009-11-22 23:30:21 +00:00
Matthew Flatt
178d0f8e34
fix problems with the embedded command-line length (merge to 4.2.3)
...
svn: r16962
2009-11-22 15:31:18 +00:00
Matthew Flatt
d4cbb3b9a7
fix future-creation record declaration for 3m
...
svn: r16953
2009-11-22 02:58:59 +00:00
Matthew Flatt
79817a2087
slimy pthread_getspecifc()-inlining trick to practically eliminate the overhead of futures support under OS X
...
svn: r16952
2009-11-22 02:34:40 +00:00
Matthew Flatt
7b05f75878
misc fixes to build related to thread-local support
...
svn: r16941
2009-11-21 16:16:41 +00:00
Matthew Flatt
e7f47a0882
fix XFORM_SKIP annotation placement that MSVC doesn't like
...
svn: r16936
2009-11-21 04:25:01 +00:00
Matthew Flatt
41bf71fa06
futures minor re-org to prepare for mixing futures and places
...
svn: r16934
2009-11-21 04:05:23 +00:00
James Swaine
074450e268
fixed futures (processor-count) on OS X (was previously always returning 1)
...
svn: r16924
2009-11-20 16:41:07 +00:00
Matthew Flatt
9367b1bbad
alternate use of registers by JIT in 32-bit thread-local mode
...
svn: r16923
2009-11-20 15:42:05 +00:00
Matthew Flatt
c8b2ba9d3f
future GC lock repair
...
svn: r16921
2009-11-20 14:04:59 +00:00
Matthew Flatt
1991cde5a7
fix handling of future atomic runtime requests
...
svn: r16920
2009-11-20 13:59:46 +00:00
Matthew Flatt
314faa6690
count future allocation toward GC trigger
...
svn: r16919
2009-11-20 13:00:31 +00:00
Matthew Flatt
d2e5807811
fix some synchronization problems in futures
...
svn: r16916
2009-11-20 06:30:55 +00:00
Matthew Flatt
d5f50056b1
revise future logging to report names and use the main logger
...
svn: r16914
2009-11-20 04:19:37 +00:00
Matthew Flatt
1e98ff1667
change to future logging
...
svn: r16912
2009-11-20 03:22:10 +00:00
Matthew Flatt
b064ebfa75
fix an old JIT optimization; more future logging; trampolined tail calls in futures
...
svn: r16911
2009-11-20 02:24:54 +00:00
Matthew Flatt
1224ad19be
handle escapes in futures
...
svn: r16910
2009-11-20 00:47:44 +00:00
Matthew Flatt
2781f1a4b8
fix use of multiple values in futures
...
svn: r16907
2009-11-19 23:39:31 +00:00
James Swaine
ec1cfb5a12
made primitive tracking configurable at runtime
...
svn: r16906
2009-11-19 23:34:18 +00:00
Matthew Flatt
bf8c1826b4
fix non-future build
...
svn: r16904
2009-11-19 22:41:49 +00:00
James Swaine
6137c3267f
fixed issue with atomic primitive invocations in futures
...
svn: r16903
2009-11-19 22:37:08 +00:00
Matthew Flatt
f0b5a9e6c6
fix non-futures build
...
svn: r16901
2009-11-19 22:06:54 +00:00
Matthew Flatt
eb9eeda873
cover all functions called form JIT that need to go back to runtime thread
...
svn: r16898
2009-11-19 21:56:17 +00:00
Matthew Flatt
acba624431
allow future threads to continue after JIT or GC interruption
...
svn: r16894
2009-11-19 19:21:58 +00:00
Matthew Flatt
a88c481b02
fix check for on-demand JITting
...
svn: r16892
2009-11-19 16:12:04 +00:00
Matthew Flatt
a2ad57e732
nested future touches
...
svn: r16891
2009-11-19 15:26:35 +00:00
Matthew Flatt
837c057ca9
remove some indirections in thread-local lookup
...
svn: r16890
2009-11-19 14:22:08 +00:00
Eli Barzilay
4ade4cf9ef
Welcome to a new PLT day.
...
svn: r16888
2009-11-19 08:50:21 +00:00
Matthew Flatt
77ae545fe6
future repairs
...
svn: r16884
2009-11-18 23:12:00 +00:00
James Swaine
f18b62ff42
double free fixed in gc
...
svn: r16882
2009-11-18 21:28:23 +00:00
Matthew Flatt
8c3e5060dd
future repairs
...
svn: r16881
2009-11-18 21:23:36 +00:00
Matthew Flatt
3b92693146
write-barrier handling with multiple threads
...
svn: r16880
2009-11-18 20:46:49 +00:00
Matthew Flatt
f921cf62cc
more on thread-local allocation
...
svn: r16879
2009-11-18 20:07:58 +00:00
Matthew Flatt
bdca9c1e8f
closer to thread-local allocation in futures
...
svn: r16876
2009-11-18 19:10:25 +00:00
James Swaine
da1a171ebe
more futures fixes
...
svn: r16874
2009-11-18 17:13:50 +00:00
Matthew Flatt
54f5c14657
more thread-local repairs
...
svn: r16873
2009-11-18 17:05:46 +00:00
James Swaine
9765a14a94
futures bug fixes
...
svn: r16871
2009-11-18 15:49:49 +00:00
Matthew Flatt
ec7845b135
try again to fix header-file installation
...
svn: r16870
2009-11-18 15:43:45 +00:00
Matthew Flatt
cfde7cdf4a
try to fix header-file installation
...
svn: r16869
2009-11-18 15:42:44 +00:00
Matthew Flatt
079c2d7851
fix logging problem
...
svn: r16868
2009-11-18 15:37:18 +00:00
Matthew Flatt
beec840463
fix another include of future.h
...
svn: r16867
2009-11-18 15:33:58 +00:00
Matthew Flatt
f1e38d99de
fix include of future.h
...
svn: r16866
2009-11-18 15:30:53 +00:00
Matthew Flatt
57aa34cfe6
repairs for thread-local support when the C sompiler does support thread locals
...
svn: r16864
2009-11-18 15:15:20 +00:00
Matthew Flatt
e26c2a084f
another fix for header problem
...
svn: r16863
2009-11-18 15:08:01 +00:00
Matthew Flatt
fd784ad769
fix a header problem
...
svn: r16862
2009-11-18 14:59:25 +00:00
Matthew Flatt
5d79713481
C thread-local variables when the C compiler don't support thread-local variables
...
svn: r16860
2009-11-18 14:52:51 +00:00
Eli Barzilay
ea8ebcce6f
Welcome to a new PLT day.
...
svn: r16858
2009-11-18 08:50:16 +00:00
Matthew Flatt
4322965b21
fix x86_64 32-bit store to an immediate 64-bit address
...
svn: r16855
2009-11-18 02:29:38 +00:00
Matthew Flatt
99978206b0
fix some 64-bit problems with recent JIT changes
...
svn: r16854
2009-11-18 01:27:36 +00:00
James Swaine
8d3dadc2b5
added argument validation to future and touch primitives
...
svn: r16852
2009-11-17 21:30:59 +00:00
James Swaine
7ac3dd6a76
fixes to futures gc interaction code
...
svn: r16851
2009-11-17 21:27:02 +00:00
Matthew Flatt
e1e2267973
futures and GC cooperation
...
svn: r16848
2009-11-17 21:02:44 +00:00
James Swaine
4920613774
removed unnecessary logging
...
svn: r16845
2009-11-17 20:24:21 +00:00
James Swaine
72f4eec8c8
futures bug fixes
...
svn: r16844
2009-11-17 20:13:17 +00:00
Matthew Flatt
a145f096cb
fix ts_scheme_tail_apply...
...
svn: r16843
2009-11-17 20:02:21 +00:00
James Swaine
8d6705dde4
svn: r16841
2009-11-17 19:57:35 +00:00
Matthew Flatt
e333bf9ffc
basics for future primitive type
...
svn: r16840
2009-11-17 19:55:03 +00:00
Matthew Flatt
1fac4829a6
support multiple signal-received handles
...
svn: r16838
2009-11-17 19:22:43 +00:00
Matthew Flatt
a91ff1c603
fix thread-local fuel counters in JIT
...
svn: r16835
2009-11-17 18:33:27 +00:00
Matthew Flatt
fe939fa2bd
thread-local fuel counters in JIT
...
svn: r16834
2009-11-17 18:30:43 +00:00
Matthew Flatt
3f349aeb51
futures => pthead timer
...
svn: r16833
2009-11-17 17:52:30 +00:00
Matthew Flatt
c5ac31e88d
avoid sbrk(), which does not work with mprotect()
...
svn: r16832
2009-11-17 17:29:18 +00:00
Matthew Flatt
f2259b5d7d
turn on thread-local for futures
...
svn: r16830
2009-11-17 15:35:07 +00:00
James Swaine
f50fe8f455
futures fixes
...
svn: r16829
2009-11-17 15:32:01 +00:00
Eli Barzilay
fedfce8a18
update version numbers for the v4.2.3 release
...
svn: r16822
2009-11-17 03:53:56 +00:00
Matthew Flatt
b50aee633f
fix file-or-directory-identity for dirs on Windows
...
svn: r16791
2009-11-16 00:09:09 +00:00
Matthew Flatt
bd15e86680
fix sconfig for FreeBSD
...
svn: r16749
2009-11-13 17:44:08 +00:00
Matthew Flatt
a00aa188ea
move FreeBSD stack config flags to sconfig (insteda of configure)
...
svn: r16748
2009-11-13 17:35:36 +00:00
Matthew Flatt
c311b8ed66
restore fixed-stack-size configuration for FreeBSD
...
svn: r16746
2009-11-13 16:06:03 +00:00
Matthew Flatt
f2d14f7af0
fix bug related to continuation-mark-set->list*
...
svn: r16678
2009-11-11 00:01:01 +00:00
Matthew Flatt
af5d176124
remove error when fuel doesn't auto-decrement
...
svn: r16665
2009-11-10 21:01:05 +00:00
Matthew Flatt
df2e50497d
fix 'lambda' expander (PR 10534)
...
svn: r16648
2009-11-10 02:36:46 +00:00
Eli Barzilay
5cd8db9be6
Welcome to a new PLT day.
...
svn: r16606
2009-11-07 08:25:28 +00:00
Matthew Flatt
c880b2119c
fix problems with recent FFI changes
...
svn: r16565
2009-11-05 20:29:18 +00:00
Matthew Flatt
37adbb42a8
fix region<%> set-path for 'aligned mode
...
svn: r16549
2009-11-04 21:24:19 +00:00
Matthew Flatt
c49b22fa2c
change _pointer to mean a reference to non-GCed memory; add _gcpointer (v4.2.2.6)
...
svn: r16546
2009-11-04 19:28:04 +00:00
Matthew Flatt
b877098bac
fix draw-arc to skip drawing instead of setting the scale to 0
...
svn: r16502
2009-11-02 16:22:10 +00:00
Matthew Flatt
16e3ee3e6c
fix scaling of X fonts when text effects (such as italic) are implemented as transformations
...
svn: r16501
2009-11-02 13:41:02 +00:00
Matthew Flatt
83773b40ae
fix unsafe-string-ref for x86_64
...
svn: r16496
2009-11-01 13:42:18 +00:00
Eli Barzilay
02fda9ff1e
Welcome to a new PLT day.
...
svn: r16491
2009-10-31 07:50:37 +00:00
Matthew Flatt
70560372b7
unsafe-{string,bytes}-{ref,set,length}
...
svn: r16490
2009-10-31 02:19:57 +00:00
Matthew Flatt
717e9390df
more configure adjustements related to pthreads
...
svn: r16483
2009-10-30 18:12:18 +00:00
Mike Sperber
9aa2075961
Unbreak the FreeBSD build.
...
svn: r16481
2009-10-30 17:25:35 +00:00
Matthew Flatt
973d51c20f
change 'read-language' protocol so that the result from 'get-info' accepts a key plus default value (instead of just a key)
...
svn: r16459
2009-10-29 23:05:56 +00:00
Matthew Flatt
a4d3b956f7
merge experiment with futures
...
svn: r16435
2009-10-26 19:45:13 +00:00
Matthew Flatt
535958988c
fix bug in inlined unsafe arithmetic branch
...
svn: r16431
2009-10-26 16:40:18 +00:00
Matthew Flatt
4a6d37f63f
remove misplaced THREAD_LOCAL
...
svn: r16418
2009-10-23 00:08:00 +00:00
Kevin Tew
2955ff1b0e
Silence gcc 4.4.1 compiler warnings
...
svn: r16411
2009-10-22 17:17:32 +00:00
Kevin Tew
c6bd8a596d
Kill off pthread itimer threads for places
...
svn: r16402
2009-10-21 19:42:55 +00:00
Kevin Tew
8a45f34acd
Jit places support
...
svn: r16401
2009-10-21 17:33:43 +00:00
Kevin Tew
7cf6ec0836
out_of_memory cleanup per Jon
...
svn: r16388
2009-10-20 19:48:24 +00:00
Kevin Tew
ac7853dc00
Allow binding to ephemeral ports
...
svn: r16382
2009-10-20 17:00:20 +00:00
Jon Rafkind
1bcf4be2ae
parse ellipses in honu mode
...
svn: r16375
2009-10-19 23:12:54 +00:00
Jon Rafkind
194e496e13
* remove checks for x<0 when x is unsigned
...
* change void* pointer arithmetic to char*
* make some gc functions consistent
svn: r16368
2009-10-19 16:50:08 +00:00
Matthew Flatt
a71b5697ad
fix drag-and-drop window traversal to handle menus and other unrealized windows
...
svn: r16365
2009-10-19 14:01:34 +00:00
Matthew Flatt
fd5f274c50
fix #%apply-values optimizer (mostly to avoid bogus optimizer complaints)
...
svn: r16353
2009-10-17 18:22:24 +00:00
Matthew Flatt
7b1462237a
thread-local JIT repairs
...
svn: r16322
2009-10-15 02:56:23 +00:00
Matthew Flatt
ef11277174
fix some JIT_THREAD_LOCAL typos
...
svn: r16321
2009-10-14 16:57:03 +00:00
Matthew Flatt
f065eb53c1
initial thread-local JIT support
...
svn: r16320
2009-10-14 14:04:24 +00:00
Kevin Tew
56757bf8b0
remove compiler warning
...
svn: r16314
2009-10-13 20:58:58 +00:00
Kevin Tew
ef0062637e
Places uses pthread timers to timout green threads
...
svn: r16311
2009-10-13 19:29:18 +00:00
Kevin Tew
6a9deb3a85
fd_set fix for PLACES
...
svn: r16301
2009-10-12 21:37:53 +00:00
Kevin Tew
ea1afc9ff8
Added scheme_raw_pair debug support
...
svn: r16277
2009-10-07 21:58:45 +00:00
Kevin Tew
bffc3bf93c
THREAD_LOCAL system_idle_put_evt
...
svn: r16276
2009-10-07 21:58:39 +00:00
Matthew Flatt
d3b85570a5
upgrade Boehm GC to v7.1
...
svn: r16274
2009-10-07 17:56:48 +00:00
Matthew Flatt
d759277921
fix build for platforms that do not support JIT; add --disable-jit configure option
...
svn: r16252
2009-10-06 14:56:11 +00:00
Kevin Tew
cf33a9e294
More pt->src_modidx unneeded assignment fixes
...
svn: r16250
2009-10-06 12:43:20 +00:00
Kevin Tew
56c8604a13
THREAD_LOCAL stack_copy_cache
...
svn: r16249
2009-10-06 12:43:11 +00:00
Eli Barzilay
21d0745fa8
Welcome to a new PLT day.
...
svn: r16235
2009-10-04 07:50:34 +00:00
Matthew Flatt
f6d34ab964
add unsafe-flabs and unsafe-fxabs (4.2.2.4)
...
svn: r16234
2009-10-04 03:25:56 +00:00
Matthew Flatt
f70e7e3385
fix bitwise-bit-field for 64-bit build (PR 10502)
...
svn: r16232
2009-10-04 01:38:50 +00:00
Matthew Flatt
9852bb16a2
unboxing of intermediate results in some 'unsafe-fl' combinations
...
svn: r16229
2009-10-03 14:10:55 +00:00
Eli Barzilay
c579734e6b
Welcome to a new PLT day.
...
svn: r16228
2009-10-03 07:50:14 +00:00
Matthew Flatt
01d15eb9b6
add unsafe-fx->fl; avoid some gcc warnings
...
svn: r16221
2009-10-02 19:45:41 +00:00
Kevin Tew
a25ddaae54
kernstruct.ss in scheme/private, makeexn generates kernstruct.ss
...
svn: r16215
2009-10-02 14:31:45 +00:00
Kevin Tew
84833de442
gcc warnings cleanup
...
svn: r16209
2009-10-02 02:13:45 +00:00
Matthew Flatt
6d968cbfa8
exit -singleInstance transfer with success instead of failure
...
svn: r16208
2009-10-01 23:51:35 +00:00
Matthew Flatt
a6825c5e58
avoid overflow in size calculation for make-vector
...
svn: r16207
2009-10-01 23:50:43 +00:00
Matthew Flatt
788ccc7f15
fix out-of-memory exception handling (PR 10489); misc compiler hushes
...
svn: r16206
2009-10-01 23:39:38 +00:00
Eli Barzilay
b50c10efa2
using scribble/text now
...
svn: r16192
2009-09-30 20:28:02 +00:00
Kevin Tew
bb148a3e1b
fixed backwards memset argument order
...
svn: r16191
2009-09-30 19:45:56 +00:00
Kevin Tew
5c8de0ea41
Silence jit.c warnings
...
svn: r16190
2009-09-30 17:44:23 +00:00
Eli Barzilay
e17ae5ce02
exnsrc.ss is now a module; works with v4 now
...
svn: r16189
2009-09-30 17:00:55 +00:00
Kevin Tew
e07361afc1
Pre-populate unsafe_env rt module exports
...
svn: r16172
2009-09-29 18:19:33 +00:00
Kevin Tew
8d3217810b
THREAD_LOCAL scheduled_kills
...
svn: r16171
2009-09-29 18:19:28 +00:00
Kevin Tew
95524d71a1
THREAD_LOCAL gmp state
...
svn: r16168
2009-09-29 16:01:36 +00:00
Kevin Tew
090f5eb474
Disable check_cycles_fast for places
...
svn: r16157
2009-09-28 22:08:31 +00:00
Kevin Tew
1d95e97c29
THREAD_LOCAL scheme_system_idle_channel
...
svn: r16156
2009-09-28 22:08:25 +00:00
Kevin Tew
cdeb27255e
Prehashed kernel_modidx empty_self_modidx, avoided unneeded late write of NULL in kernel env
...
svn: r16155
2009-09-28 22:08:18 +00:00