Commit Graph

2139 Commits

Author SHA1 Message Date
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
Kevin Tew
0e89f5c580 scheme_init_network cleanup
svn: r16154
2009-09-28 21:41:59 +00:00
Kevin Tew
7e942fa211 THREAD_LOCAL fun.c module.c network.c port.c print.c thread.c
svn: r16153
2009-09-28 21:41:52 +00:00
Kevin Tew
34955dd358 THREAD_LOCAL thread.c
svn: r16152
2009-09-28 21:41:43 +00:00
Kevin Tew
7d3099c980 Moved THREAD_LOCAL stxobj globals to place REGISTER_SO
svn: r16151
2009-09-28 21:13:08 +00:00
Kevin Tew
b4b0512961 Made external_event_fd THREAD_LOCAL
svn: r16150
2009-09-28 21:13:02 +00:00
Kevin Tew
3840b6f50b Precompute hash of scheme_default_prompt_tag
svn: r16149
2009-09-28 21:12:52 +00:00
Matthew Flatt
ce6c12daf8 fix bug when JIT is dynamically disabled
svn: r16144
2009-09-28 15:22:46 +00:00
Matthew Flatt
c3602ff740 remove debugging printf
svn: r16135
2009-09-26 19:43:46 +00:00
Matthew Flatt
b9c1fafb74 register module body and import traversal for JIT-based stack traces
svn: r16134
2009-09-26 19:04:18 +00:00
Matthew Flatt
ccb20d1be6 fix ordering problem between initial and later imports for certain cases leading to module->namespace
svn: r16126
2009-09-25 14:44:37 +00:00
Matthew Flatt
26f99d3fa4 remove security-guard check from cleanse-path, because it does not consult the filesystem
svn: r16121
2009-09-24 14:49:59 +00:00
Kevin Tew
4ad24edba4 Removed unused code
svn: r16112
2009-09-22 19:19:47 +00:00
Kevin Tew
027959de52 Simplified propagate mark code, removed unneeded pagemap calls
svn: r16041
2009-09-17 14:13:47 +00:00
Eli Barzilay
c72c95b88f Welcome to a new PLT day.
svn: r16032
2009-09-17 07:50:14 +00:00
Eli Barzilay
15bebfd8ea update version numbers for the v4.2.2 release
svn: r16030
2009-09-17 03:11:45 +00:00
Matthew Flatt
762b4e4266 fix syntax printing to avoid nul char
svn: r16014
2009-09-14 22:53:07 +00:00
Matthew Flatt
147f15b59a fix PPC JIT-inlined exact->inexact
svn: r15987
2009-09-12 04:21:37 +00:00
Matthew Flatt
30c0dcf045 dynamic-require and 0 mode; repair to unsafe-fl ops; x86_64 for Mac OS X
svn: r15985
2009-09-11 23:05:50 +00:00
Matthew Flatt
d918b3be4f fix endianness of file creator & type (PR 10424)
svn: r15972
2009-09-11 15:30:47 +00:00
Matthew Flatt
a8ecb7fc09 just a comment and some (disabled) debugging instrumentation
svn: r15959
2009-09-10 17:54:10 +00:00
Kevin Tew
0d1409e5fd Places start_module and atomic mark traversal fixes
svn: r15958
2009-09-10 16:24:18 +00:00
Matthew Flatt
f49af7c4fa fix problem with code inspectors and unmarshaling syntax (PR 10429)
svn: r15957
2009-09-10 15:27:41 +00:00
Matthew Flatt
cdd4c47bd6 runtime repairs for macro stepper
svn: r15955
2009-09-10 12:54:15 +00:00
Eli Barzilay
f1179528a8 typo
svn: r15943
2009-09-09 20:55:43 +00:00
Matthew Flatt
bacdbc015f explain reason for --enable-macprefix
svn: r15942
2009-09-09 20:44:22 +00:00
Matthew Flatt
560fde6c04 change the way #%unsafe is found; fix configure for PPC mac
svn: r15941
2009-09-09 18:53:16 +00:00
Kevin Tew
8d9a087a4f Fix configure.ac for places using cgc on x86_64
svn: r15939
2009-09-09 17:34:03 +00:00
Kevin Tew
d40b3b4c41 GC2 Cleanups
svn: r15938
2009-09-09 17:33:48 +00:00
Kevin Tew
3c1f392945 Got rid of hardcoded place-main
svn: r15937
2009-09-09 17:33:41 +00:00
Matthew Flatt
7437bdec03 fix typo in configure report
svn: r15932
2009-09-09 12:42:01 +00:00
Matthew Flatt
02239ff6d9 auto-configure large-file support
svn: r15931
2009-09-09 12:40:20 +00:00
Matthew Flatt
8958f1893a make build work on Mac OS 10.6
svn: r15927
2009-09-09 01:06:30 +00:00