Matthew Flatt
625953ca72
fix Windows thread-scheduling timer when parallel futures are enabled
...
svn: r18432
2010-03-02 19:32:58 +00:00
Matthew Flatt
ef9de6517a
fix race condition in future-thread initialization
...
svn: r18430
2010-03-02 18:00:27 +00:00
Matthew Flatt
2ea9c6e02b
fix placement of future pause-for-gc loop in JIT-generated code
...
svn: r18429
2010-03-02 16:59:06 +00:00
Matthew Flatt
0197183739
fix MrEd3m build when using SGC
...
svn: r18428
2010-03-02 15:17:19 +00:00
Matthew Flatt
fced29e946
fix regexp bug in unicode-category patterns
...
svn: r18427
2010-03-02 15:09:47 +00:00
Matthew Flatt
068dc863c4
fix futures allocation bug
...
svn: r18426
2010-03-02 14:36:14 +00:00
Kevin Tew
cc0872007a
Stop the world for master collection
...
svn: r18424
2010-03-02 04:22:12 +00:00
Kevin Tew
c3b6de9a91
newgc.c debug cleanup
...
svn: r18423
2010-03-02 03:57:42 +00:00
John Clements
1656c0839b
dsitributed --> distributed
...
svn: r18411
2010-03-01 19:03:09 +00:00
Matthew Flatt
dff9786222
fix problems with background-thread select() in Mac OS X mred
...
svn: r18410
2010-03-01 18:54:09 +00:00
Kevin Tew
672cdf7347
fix scheme_restart_instance to init logging config param
...
svn: r18409
2010-03-01 17:54:22 +00:00
Kevin Tew
706c1b9e00
Fix missed rename
...
svn: r18408
2010-03-01 17:45:55 +00:00
Matthew Flatt
c856b1b72e
move hard-wired Mac TLS key from 0x108 to 0x110
...
svn: r18405
2010-03-01 13:13:24 +00:00
Eli Barzilay
d90c0e548b
Welcome to a new PLT day.
...
svn: r18403
2010-03-01 08:50:30 +00:00
Matthew Flatt
57ab0dee65
OS X futures: only x86
...
svn: r18400
2010-03-01 01:43:06 +00:00
Matthew Flatt
9b6ccb1476
fix name collision with Linux+mred+futures
...
svn: r18399
2010-02-28 22:43:41 +00:00
Matthew Flatt
8f8a8b18b1
fix configure typo
...
svn: r18397
2010-02-28 22:14:04 +00:00
Matthew Flatt
e71bd71035
enable futures by default on Mac OS X and Linux x86/x86_64; future docs to ref and guide
...
svn: r18396
2010-02-28 22:06:59 +00:00
Matthew Flatt
2e0e4b8b95
enable parallel futures under Windows (enabled by default)
...
svn: r18395
2010-02-28 17:12:02 +00:00
Eli Barzilay
508b2ca269
Welcome to a new PLT day.
...
svn: r18377
2010-02-27 08:50:29 +00:00
Matthew Flatt
831dcc0c2c
fix problem visiting available modules; improve backtrace in JIT mode to include module visits; fix use-before-def error to show correct phase (when it's not 0)
...
svn: r18375
2010-02-27 03:22:33 +00:00
Matthew Flatt
51b33d2149
fix problem with dynamic-require (PR 10785)
...
svn: r18369
2010-02-26 22:52:08 +00:00
Eli Barzilay
a8ac086430
libffi moved: gcc -> github
...
svn: r18355
2010-02-26 19:42:24 +00:00
Matthew Flatt
02583a1a08
ad hoc car/cdr optimizations
...
svn: r18354
2010-02-26 19:14:56 +00:00
Stevie Strickland
e30e8bba10
Bumping the version number due to changes in the primitive class interface.
...
svn: r18353
2010-02-26 19:01:59 +00:00
Sam Tobin-Hochstadt
6dee10e090
handle datarootdir to avoid warnings
...
svn: r18350
2010-02-26 14:47:39 +00:00
Sam Tobin-Hochstadt
7accc0bd7d
Need to unwrap objects at two other points:
...
* When the C++ code uses direct access on objects (look for check_valid)
* In the functions returned by class-field-accessor/mutator
svn: r18344
2010-02-25 23:42:13 +00:00
Stevie Strickland
1f10c4e422
Have external field accessors/mutators just redirect to the old object
...
themselves. Also, have all objects carry the prop:unwrap property.
svn: r18330
2010-02-24 23:32:44 +00:00
Stevie Strickland
af0387e3a6
Fuck you, C, and the flea-bitten, mange-covered, syphilis-ridden horse you
...
rode in on.
svn: r18318
2010-02-24 16:35:30 +00:00
Stevie Strickland
60b6c81f9f
Okay, updates to all this crapola. Going to try and see what happens if I
...
only attach prop:unwrap to wrapped objects.
svn: r18313
2010-02-23 23:56:08 +00:00
Stevie Strickland
7e6b4757fa
Forgot to check this
...
svn: r18312
2010-02-23 22:40:07 +00:00
Stevie Strickland
e1cd160a40
Now that the C code is back at a compile-ready point, I'll check in.
...
svn: r18306
2010-02-23 20:57:22 +00:00
Stevie Strickland
5e07c2e340
Clean up the prop build a bit, and if there's no unwrapper, just return the
...
object (since this works like an identity anyway if it's not a wrapped object).
svn: r18301
2010-02-23 15:47:18 +00:00
Stevie Strickland
aa7062a35e
Fix up kernel.ss to include unwrapper, also fix arity check now that it takes
...
one more.
svn: r18300
2010-02-23 15:01:04 +00:00
Stevie Strickland
6583b0b77c
My first foray into the C side of things.
...
svn: r18299
2010-02-23 14:55:24 +00:00
Matthew Flatt
a7b5d0d8f1
add objscheme_unwrap() hook for contract system to interact with primitive MrEd classes
...
svn: r18297
2010-02-23 13:53:55 +00:00
Eli Barzilay
3ec0cb2731
Welcome to a new PLT day.
...
svn: r18146
2010-02-18 08:50:32 +00:00
Matthew Flatt
23ad685d67
bump version
...
svn: r18132
2010-02-17 21:44:22 +00:00
Jay McCarthy
a8d00cc3b3
Added new primitive: symbol-unreadable?
...
Updated Scheme implementation of zo parsing and marshaling
- Separated the structs into a different file and added contracts
- Implemented stxobj marshalling
- Fixed many small bugs in parser and marshaller
- Added new structs for new parser cases
Done by Blake Johnson (BYU)
Committed by Jay
svn: r18130
2010-02-17 21:33:00 +00:00
Kevin Tew
377d9be7ee
fix compile error on places
...
svn: r18129
2010-02-17 21:26:38 +00:00
Matthew Flatt
008e7b3121
under linux, run write-barrier signal handler on alternate stack
...
svn: r18124
2010-02-17 20:43:34 +00:00
Kevin Tew
81d38e6acb
places gc testing support code
...
svn: r18122
2010-02-17 20:35:46 +00:00
Matthew Flatt
91d725fbb9
add optional initialization argument to make-hash (and variants)
...
svn: r18120
2010-02-17 17:44:29 +00:00
Matthew Flatt
ea90a07c86
chage some quadratic-time parts of internal-defn expansion to linear
...
svn: r18109
2010-02-17 14:12:07 +00:00
Kevin Tew
7990337c1e
Places gc fix
...
svn: r18100
2010-02-16 18:47:04 +00:00
Matthew Flatt
6f0d6b28de
some mz and ffi changes from the mr2 branch
...
svn: r18099
2010-02-16 17:55:28 +00:00
Kevin Tew
a8fc2d55b3
Add convenient wrappers to scheme_extract_one_cc_mark_with_meta
...
svn: r18098
2010-02-16 16:46:25 +00:00
Kevin Tew
b865bb7868
gcc 4.4.1 compiler warning fix
...
svn: r18090
2010-02-15 20:31:24 +00:00
Kevin Tew
df51f39987
Wrap dynamic-require of place module with top_level_do
...
svn: r18089
2010-02-15 20:23:47 +00:00
Matthew Flatt
81dbd0a967
finish removing obsolete namespace-option support
...
svn: r18083
2010-02-14 14:30:45 +00:00
Matthew Flatt
d12e3e8c4f
better solution for rev 18046
...
svn: r18072
2010-02-12 19:16:00 +00:00
Matthew Flatt
f94b9f4377
avoid a stack overflow with deeply call-in-nested threads
...
svn: r18046
2010-02-11 04:29:28 +00:00
Matthew Flatt
38a0f6d89a
fix the actual result value for unboxed flmin and flmax
...
svn: r18045
2010-02-11 04:00:18 +00:00
Matthew Flatt
bdae105baf
fix JIT flmin and flmax fp-stack handling when result is used in unboxed position
...
svn: r18044
2010-02-11 03:49:38 +00:00
Matthew Flatt
0a13958284
fix for Sparc Linux from James Vega (PR 10750)
...
svn: r18031
2010-02-09 16:16:47 +00:00
Matthew Flatt
13b5f7e095
fix recently introduced optimizer bug (affected the kanren test)
...
svn: r18016
2010-02-08 17:51:00 +00:00
Kevin Tew
ce7c7eac7b
Removed unused parameters to grab_continuation
...
svn: r17996
2010-02-05 17:28:00 +00:00
Kevin Tew
ccbe173d08
Places GC fixes
...
svn: r17995
2010-02-05 17:06:13 +00:00
Kevin Tew
46b61873aa
Move lazy global initialization to init_fun
...
svn: r17994
2010-02-05 17:06:05 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21:52 +00:00
Matthew Flatt
3812f8ca72
improve inling to support ((let (....) (lambda ....)) arg ...) patterns; allow nested 'let's for local flonum binding (which fixes a problem where unsafe flonum operations could end up much slower than safe ones)
...
svn: r17972
2010-02-05 00:16:06 +00:00
Matthew Flatt
0a6f85a49c
fix JIT bug related to capturing flonum locals
...
svn: r17968
2010-02-04 18:11:32 +00:00
Matthew Flatt
a27dcaa3ac
use fpsetmask for freebsd
...
svn: r17966
2010-02-04 12:44:58 +00:00
Matthew Flatt
8dc290d077
change future-thread count to 16
...
svn: r17941
2010-02-02 17:19:47 +00:00
Eli Barzilay
99bebecd75
Welcome to a new PLT day.
...
svn: r17919
2010-02-01 08:50:38 +00:00
Matthew Flatt
5433c57504
wrap each top-level form in a module with a prompt
...
svn: r17917
2010-01-31 17:04:55 +00:00
Matthew Flatt
de98d4fd79
fix bug related to CGC, 'flvector-set', a bad first or second argument, and an unboxable third argument
...
svn: r17916
2010-01-31 16:50:36 +00:00
Matthew Flatt
fe532b712c
update list of supported platforms
...
svn: r17887
2010-01-29 20:08:17 +00:00
Kevin Tew
d634beb1eb
Fix double initialization of paramz key
...
svn: r17883
2010-01-29 14:21:25 +00:00
Matthew Flatt
ea87c95d95
adjust futures impl to use mzrt; fix MrEd build to work with futures
...
svn: r17879
2010-01-29 00:15:43 +00:00
Matthew Flatt
43bf186d53
byte zo reader to allow syntax objects within literal hash tables
...
svn: r17867
2010-01-28 18:49:08 +00:00
Matthew Flatt
a09e671f34
allow radio-box% to have no selected buttons
...
svn: r17865
2010-01-28 17:51:30 +00:00
Matthew Flatt
2c192f5297
support inlining of procedures with rest args
...
svn: r17860
2010-01-28 01:31:37 +00:00
Matthew Flatt
8733e7f233
fix JIT bug related to locally bound flonums; merge to 4.2.4
...
svn: r17857
2010-01-27 23:22:23 +00:00
Kevin Tew
3d3038baec
gc debugging fix
...
svn: r17845
2010-01-26 22:04:24 +00:00
Kevin Tew
7114cdf51e
Inital places documentation
...
svn: r17818
2010-01-25 16:11:34 +00:00
Kevin Tew
5f8c18a7ef
places exit handler
...
svn: r17817
2010-01-25 16:11:22 +00:00
Matthew Flatt
4ce8dfa7da
fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4
...
svn: r17802
2010-01-24 15:30:16 +00:00
Matthew Flatt
bfa543bd11
fix problem initializing tail buffer; fix JIT checking of unsafe-f{l,64}vector-ref unboxing; fix error message for unbound variables (merge to 4.2.4)
...
svn: r17788
2010-01-23 22:37:07 +00:00
Kevin Tew
a6c1b9256e
Places added place local module path table for uninterned symbols
...
svn: r17774
2010-01-22 23:32:32 +00:00
Kevin Tew
e0fff18e68
don't use stdout for cstartup generation
...
svn: r17772
2010-01-22 21:17:21 +00:00
Eli Barzilay
a86337375d
Welcome to a new PLT day.
...
svn: r17746
2010-01-19 08:50:22 +00:00
Matthew Flatt
a6231d88e9
fix (#%variable-reference) in let-syntax RHS (PR 10696)
...
svn: r17745
2010-01-19 08:00:50 +00:00
Eli Barzilay
b1abbab3ff
update version numbers for the v4.2.4 release
...
svn: r17711
2010-01-18 06:08:24 +00:00
Matthew Flatt
f2e60c97a7
drop native stack traces from continuations; they're expensive to compute, not actually used, and could be computed on demand
...
svn: r17667
2010-01-15 20:57:52 +00:00
Matthew Flatt
5f3b90943b
JIT fast path for setting global/module variable; repair fix for PR 10693
...
svn: r17663
2010-01-15 14:02:57 +00:00
Matthew Flatt
e90853cccd
rewind part of inlining algorithm that could help somewhat with higher-order functions that contain internal loops, but it can also make other code much worse
...
svn: r17656
2010-01-14 21:20:49 +00:00
Kevin Tew
24d2dbf65e
fix GC medium objects allocation size accounting
...
svn: r17655
2010-01-14 20:18:43 +00:00
Matthew Flatt
857c3bbb17
fix GC double counting of big gen0 pages
...
svn: r17651
2010-01-14 18:09:41 +00:00
Kevin Tew
485900bfa6
global tagging
...
svn: r17648
2010-01-14 17:32:06 +00:00
Matthew Flatt
3572f7bc18
fix problem in bytecode printer
...
svn: r17641
2010-01-13 23:31:34 +00:00
Kevin Tew
08fa44801c
Places Async Channels
...
svn: r17637
2010-01-13 19:16:54 +00:00
Kevin Tew
e4fdd172a7
remove old gc cruft
...
svn: r17634
2010-01-13 17:08:20 +00:00
Matthew Flatt
fbe29fa7e2
fix declaration not at block start
...
svn: r17629
2010-01-13 13:50:40 +00:00
Kevin Tew
4977211ee7
Move kernel to master
...
svn: r17623
2010-01-12 23:53:01 +00:00
Matthew Flatt
331c6d2f5f
fix bignum expt (PR 10690); also fixed a doc typo
...
svn: r17614
2010-01-12 02:16:12 +00:00
Eli Barzilay
7d27dafa77
Welcome to a new PLT day.
...
svn: r17592
2010-01-10 08:50:38 +00:00
Matthew Flatt
58e6d2426a
fix bug introduced into module-compiled-exports
...
svn: r17589
2010-01-09 14:48:51 +00:00
Matthew Flatt
349c15d478
replae module->compiled-module-expression with module->imports and module->exports
...
svn: r17588
2010-01-09 14:42:18 +00:00
Eli Barzilay
eb8a60a235
Welcome to a new PLT day.
...
svn: r17587
2010-01-09 08:50:42 +00:00
Kevin Tew
0dc9ae031c
atomic increase of max_symbol_length, locking for jit freelist, globals tagging
...
svn: r17584
2010-01-08 23:05:33 +00:00
Matthew Flatt
b63c4bb8d0
fix (tcp-listen 0) for IPv6
...
svn: r17578
2010-01-08 20:41:43 +00:00
Matthew Flatt
d665fd5b23
fix 'time' CPU-time wraparound under Windows
...
svn: r17577
2010-01-08 20:07:59 +00:00
Matthew Flatt
4fedeeaf7a
add module->compiled-module-expression, which is used in Scribble's traversal of module paths to find documented bindings
...
svn: r17576
2010-01-08 19:53:04 +00:00
Matthew Flatt
425d3d6145
fix shared-library version for CGC lib
...
svn: r17564
2010-01-08 13:45:57 +00:00
Kevin Tew
8d774adef7
global tagging
...
svn: r17561
2010-01-08 04:36:46 +00:00
Matthew Flatt
530238a12b
fix libunwind problem (seocnd attempt)
...
svn: r17558
2010-01-07 23:18:26 +00:00
Matthew Flatt
42172e4fda
fixes for places
...
svn: r17557
2010-01-07 22:43:29 +00:00
Kevin Tew
dc9f3227c5
global tagging
...
svn: r17535
2010-01-07 17:50:21 +00:00
Matthew Flatt
f7f6b972fd
fix problem with flmin/flmax and cgc
...
svn: r17532
2010-01-07 16:33:26 +00:00
Eli Barzilay
ecb1f6525d
Welcome to a new PLT day.
...
svn: r17528
2010-01-07 08:50:36 +00:00
Matthew Flatt
41261c6047
fill out fl and fx operations; repair fixnum-overflow bug in quotient
...
svn: r17524
2010-01-07 03:30:33 +00:00
Kevin Tew
aeb3523346
GLOBAL_FOLDING_PRIM cleanup char.c
...
svn: r17521
2010-01-06 23:25:09 +00:00
Kevin Tew
a7b8ff1313
global tagging
...
svn: r17518
2010-01-06 22:48:27 +00:00
Kevin Tew
8c9019aeee
num_limits initialization fix
...
svn: r17515
2010-01-06 22:13:48 +00:00
Matthew Flatt
0f9eda49c1
disable unwind cache for now
...
svn: r17514
2010-01-06 21:55:18 +00:00
Matthew Flatt
3006abec4b
enable libunwind caching to avoid potential memory leak
...
svn: r17494
2010-01-06 16:28:22 +00:00
Kevin Tew
2d92b5aa91
remove unneeded global variable mtrace_cmark_key
...
svn: r17490
2010-01-06 05:11:15 +00:00
Kevin Tew
f12bda77c9
global variable tagging
...
svn: r17489
2010-01-06 04:49:03 +00:00
Kevin Tew
d08684c9b8
remove static check_counter from print
...
svn: r17488
2010-01-05 23:59:46 +00:00
Matthew Flatt
485858fa72
fix bytecode validator to reject symbolic requires in modules
...
svn: r17487
2010-01-05 22:35:20 +00:00
Matthew Flatt
6151119d5e
JIT tweak for flonum comparisons; better bytecode-compiler transformations for expressions used as branch tests
...
svn: r17486
2010-01-05 20:24:59 +00:00
Kevin Tew
620a4d6dd6
CIL Tagging
...
svn: r17485
2010-01-05 15:59:12 +00:00
Matthew Flatt
3902824d88
adjust inlining algorithm again; better JIT compilation of nested branches; better JIT handling of literal floating-point numbers
...
svn: r17484
2010-01-05 15:13:03 +00:00
Kevin Tew
e1a98129dc
Unused variable directly
...
svn: r17483
2010-01-05 14:49:07 +00:00
Kevin Tew
ee641b80ac
Allow shared_so linux GC testing via homespun access to ThreadLocalVariables table
...
svn: r17477
2010-01-04 22:18:08 +00:00
Eli Barzilay
958710559b
Welcome to a new PLT day.
...
svn: r17468
2010-01-03 08:50:36 +00:00
Matthew Flatt
38d7e8fea2
built-in fixnum ops; bug fix related to misuse of flonum ops; questionable attempt to improve inlining algorithm
...
svn: r17461
2010-01-02 16:33:28 +00:00
Kevin Tew
fb9a71d5a7
Add cached_mod_stx and cached_mod_beg_stx the ../include/schthread.h
...
svn: r17443
2009-12-30 22:13:35 +00:00
Kevin Tew
6a4bae10d0
Remove lazy initialization of dummy_io_ports, prone to race conditions
...
svn: r17442
2009-12-30 21:47:18 +00:00
Kevin Tew
019a8601e7
Remove hash_counter static variable
...
svn: r17441
2009-12-30 20:56:56 +00:00
Kevin Tew
924314b634
Remove unused scheme_exiting_result
...
svn: r17440
2009-12-30 20:26:50 +00:00
Matthew Flatt
e68aabd67a
change expand and local-expand to lift certificates
...
svn: r17439
2009-12-30 17:27:38 +00:00
Matthew Flatt
63fc877988
Alpha GMP patch (PR 10678)
...
svn: r17437
2009-12-30 12:39:33 +00:00
Kevin Tew
8fdf526cc7
Remove unused code warnings
...
svn: r17400
2009-12-25 18:22:29 +00:00
Kevin Tew
851fb462b2
Added scheme_init_bignum
...
svn: r17399
2009-12-25 18:05:01 +00:00
Matthew Flatt
d0a4c6427b
fix arity of some fx operations
...
svn: r17388
2009-12-23 01:31:32 +00:00
Eli Barzilay
d51cae1708
2009 -> 2010
...
svn: r17383
2009-12-22 05:52:15 +00:00
Eli Barzilay
cda2d12914
better text generation
...
svn: r17373
2009-12-21 05:46:16 +00:00
Matthew Flatt
f332afc3dd
fix leak created by transitive thread-resume
...
svn: r17370
2009-12-20 15:39:55 +00:00
Matthew Flatt
b7efdd59a5
fix another bit-array-allocation problem in bytecode compiler
...
svn: r17358
2009-12-19 16:30:01 +00:00
Eli Barzilay
3e98722e10
Welcome to a new PLT day.
...
svn: r17356
2009-12-19 08:50:33 +00:00
Matthew Flatt
52c8e09f25
fix registration of some shared JIT code
...
svn: r17354
2009-12-19 04:32:13 +00:00
Matthew Flatt
0a1e4e6e83
fix an allocation in bytecode compiler; add flvector equality
...
svn: r17353
2009-12-18 21:53:02 +00:00
Matthew Flatt
35040e040c
move incorrectly placed assertion
...
svn: r17352
2009-12-18 18:17:26 +00:00
Matthew Flatt
35773daad4
FSQRT machine instruction is optional on PPC
...
svn: r17351
2009-12-18 17:38:32 +00:00
Matthew Flatt
14ce6e48e6
fix JIT bug in fl argument checking with CGC or PPC
...
svn: r17350
2009-12-18 17:23:09 +00:00
Matthew Flatt
9192f073d0
compiler flonum tweaks
...
svn: r17349
2009-12-18 16:59:05 +00:00
Matthew Flatt
fdd7122994
scheme/flonum (v4.2.3.8)
...
svn: r17348
2009-12-18 15:40:00 +00:00
Eli Barzilay
5f7d1792ad
Welcome to a new PLT day.
...
svn: r17347
2009-12-18 08:50:36 +00:00
Kevin Tew
36083a71ab
explicit symbol initialization
...
svn: r17344
2009-12-17 21:05:19 +00:00
Matthew Flatt
ff81d89c52
guarantee current-inexact-milliseconds as since Jan 1, 1970
...
svn: r17343
2009-12-17 20:47:40 +00:00
Matthew Flatt
cab948d61f
fix up validator, decompiler, and zo-marshaler for flonum-argument annotations
...
svn: r17341
2009-12-17 20:17:48 +00:00
Kevin Tew
73aa22e65d
spurious gc argument
...
svn: r17339
2009-12-17 17:59:47 +00:00
Matthew Flatt
bc47db42e4
unboxed known-flonum loop accumulators
...
svn: r17338
2009-12-17 15:58:29 +00:00
Eli Barzilay
babae9a18d
Welcome to a new PLT day.
...
svn: r17333
2009-12-17 08:51:08 +00:00
Matthew Flatt
45e84ca087
unboxing of let-bound flonums (v4.2.3.6)
...
svn: r17328
2009-12-16 13:30:40 +00:00
Kevin Tew
a23c519ac8
Make ffl_buf local
...
svn: r17315
2009-12-15 22:10:28 +00:00
Kevin Tew
73d2fde4af
Fix System_Child mark
...
svn: r17309
2009-12-15 16:58:16 +00:00
Eli Barzilay
145ed582b3
Welcome to a new PLT day.
...
svn: r17305
2009-12-15 08:51:03 +00:00
Matthew Flatt
87f05fed95
add #:save-errno option for foreign-function types
...
svn: r17299
2009-12-14 23:52:23 +00:00
Matthew Flatt
5772fa0a9f
bytecode-compiler changes to help enable flonum unboxing
...
svn: r17283
2009-12-13 04:39:46 +00:00
Matthew Flatt
ea1929841b
fix and adjust inlining metric
...
svn: r17274
2009-12-12 03:18:24 +00:00
Matthew Flatt
fb67e2610b
adjust large-file-support flag handling
...
svn: r17267
2009-12-11 12:49:46 +00:00
Kevin Tew
d339a01d04
Remove equal_counter
...
svn: r17260
2009-12-10 16:43:28 +00:00
Kevin Tew
2003de720a
Wrap place invocation with setjmp error handling
...
svn: r17259
2009-12-10 16:34:14 +00:00
Matthew Flatt
d4aaa9cf6f
adaptive future-nursery size
...
svn: r17252
2009-12-10 02:25:46 +00:00
Kevin Tew
2e166e14e9
Fixed compiler warning
...
svn: r17187
2009-12-04 22:51:02 +00:00
Eli Barzilay
5a57905065
Welcome to a new PLT day.
...
svn: r17181
2009-12-04 08:50:54 +00:00
Matthew Flatt
c73b587e98
inline flvector-length
...
svn: r17178
2009-12-03 18:04:02 +00:00
Matthew Flatt
4eef1b3cee
flvectors
...
svn: r17177
2009-12-03 16:42:32 +00:00
Matthew Flatt
7015edb070
fix corner case of futures where the initial procedure needs too deep a Scheme stack
...
svn: r17165
2009-12-02 20:00:32 +00:00
Matthew Flatt
ec7dbeee65
fix runstack reset in future thread
...
svn: r17164
2009-12-02 19:39:21 +00:00
Ryan Culpepper
4495620f3b
bug fix for syntax-local-value with internal definitions context
...
svn: r17143
2009-12-01 18:33:59 +00:00
Kevin Tew
a9f964094a
[Places] register OSX mach threads
...
svn: r17141
2009-12-01 17:27:02 +00:00
Kevin Tew
93488dfe1e
[Places] Fix SIGCHLD
...
svn: r17140
2009-12-01 17:26:54 +00:00
Kevin Tew
788d913bba
[Places] MasterGC allocation and collection; place_wait; master initiated child collection
...
svn: r17139
2009-12-01 17:26:45 +00:00
Eli Barzilay
3d9c4b0ac5
Added --addon'/
-A', in addition to $PLTADDONDIR from revision 17121.
...
svn: r17136
2009-12-01 15:11:45 +00:00
Eli Barzilay
771b203610
removed old translation of --no-argv to -A
...
svn: r17133
2009-12-01 13:08:44 +00:00
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