Commit Graph

10144 Commits

Author SHA1 Message Date
Eli Barzilay
9295a1dc27 * Fix memory test
* Better organization of `user-eval'
* Deal with cases when the evaluator dies outside of our control

svn: r12841
2008-12-13 23:26:44 +00:00
Eli Barzilay
5ab0de415d formatting
svn: r12840
2008-12-13 22:45:35 +00:00
Eli Barzilay
39a69b30fd Don't set memory limits or test for them when there is no memory
accounting.

svn: r12839
2008-12-13 22:44:02 +00:00
Eli Barzilay
813eb20e35 termination message now indicates suicides too (both killing the
thread or shutting the custodian)

svn: r12838
2008-12-13 22:39:49 +00:00
Eli Barzilay
188489b34f * Added `exn:fail:sandbox-terminated' for all sandbox termination
kinds.
* The default exit handler kills the sandbox, with an appropriate
  termination message.
* Also, sending an eof to the sandbox shows 'eof as the reason
* Added some tests for these.
* Still need to deal with termination messages for evaluator suicide.

svn: r12837
2008-12-13 22:12:16 +00:00
Eli Barzilay
bdf71f1b46 typo
svn: r12836
2008-12-13 21:13:03 +00:00
Eli Barzilay
510d9f081f some clarifications
svn: r12835
2008-12-13 19:09:54 +00:00
Eli Barzilay
607567d301 simplification
svn: r12834
2008-12-13 18:01:12 +00:00
Matthew Flatt
cf8b75939b trim some fat from module-variable references
svn: r12833
2008-12-13 17:38:14 +00:00
Eli Barzilay
bd01cda595 typo in the last commit
svn: r12832
2008-12-13 17:18:40 +00:00
Eli Barzilay
46e16fc206 * The sandbox now uses a new code-inspector to avoid using protected
bindings
* Added `sandbox-make-code-inspector' to control this
* Changed the function form of `sandbox-security-guard' to be a thunk,
  to make it uniform with other sandbox settings.

svn: r12831
2008-12-13 17:17:12 +00:00
Eli Barzilay
55f1df58e1 Make sure that the module is also instantiated under the evaluation
limits too (the instantiation was happening outside of the limited
thunk)

svn: r12830
2008-12-13 16:41:07 +00:00
Eli Barzilay
f878d96630 no memory-limit either
svn: r12829
2008-12-13 14:13:30 +00:00
Eli Barzilay
e2221c800b * sandbox-security-guard can now be a function that translates a given
security guard to a new one
* this is now used for the default to avoid grabbing the global
  security guard

svn: r12828
2008-12-13 14:11:28 +00:00
Eli Barzilay
f1dc6c831c Welcome to a new PLT day.
svn: r12826
2008-12-13 08:50:31 +00:00
Ryan Culpepper
12216b15aa macro debugger: reorg, minor bug fixes
svn: r12825
2008-12-13 07:49:52 +00:00
Robby Findler
fca3c228a7 reader didnt get set up properly for the teaching languages
svn: r12823
2008-12-12 21:25:04 +00:00
Matthew Flatt
6b4270721c disable sandbox memory limit for docs
svn: r12822
2008-12-12 20:45:02 +00:00
Jon Rafkind
e268305837 typo - rename a variable
svn: r12821
2008-12-12 20:37:10 +00:00
Kevin Tew
3fc53848ce Force scheme_types not to grow after initialization
svn: r12819
2008-12-12 19:36:43 +00:00
Kevin Tew
51eb2a8257 refactored code out to mzrt_proc_first_thread_init
svn: r12818
2008-12-12 19:36:37 +00:00
Kevin Tew
c70abd63e5 fix race condition use of scheme_master_proc_thread in master_scheme_place
svn: r12817
2008-12-12 19:36:32 +00:00
Kevin Tew
e8aae67e82 Better places SIGWEGV debugging
svn: r12816
2008-12-12 19:36:26 +00:00
Kevin Tew
27a5a47700 added THREAD_LOCAL to Finalizations **save_fns_ptr
svn: r12815
2008-12-12 19:36:20 +00:00
Kevin Tew
eeb4f8e534 added integer support to deep_copy
svn: r12814
2008-12-12 19:36:15 +00:00
Kevin Tew
bd5c06750b [gc2] share the mark_table
svn: r12813
2008-12-12 19:36:10 +00:00
Kevin Tew
37f104ded0 Added declaration for GC_switch_in_master_gc
svn: r12812
2008-12-12 19:36:03 +00:00
Kevin Tew
388cbe136a Added asserts for debugging propagate_marks
svn: r12811
2008-12-12 19:35:58 +00:00
Kevin Tew
aea092de02 Added scheme chars to deep copy
svn: r12810
2008-12-12 19:35:53 +00:00
Kevin Tew
ae6d07d76a Disable collection on master GC for now
svn: r12809
2008-12-12 19:35:48 +00:00
Kevin Tew
17547b977f init global tables symbols and modpaths in master GC
svn: r12808
2008-12-12 19:35:42 +00:00
Kevin Tew
d29a6b4cec Places/3m symbols created in master GC and deep copy added
svn: r12807
2008-12-12 19:35:35 +00:00
Kevin Tew
653db9dcbe Added SIGSEGV diagnostics with 3m
svn: r12806
2008-12-12 19:35:29 +00:00
Kevin Tew
1af924d8de Save off and restore all THREAD_LOCALS when switching GCs
svn: r12805
2008-12-12 19:35:24 +00:00
Kevin Tew
4cc0633218 No need to check mark_stack on every push
svn: r12804
2008-12-12 19:35:19 +00:00
Kevin Tew
a50776a2e8 Add more dependencies to gc2/Makefile.in
svn: r12803
2008-12-12 19:35:13 +00:00
Kevin Tew
a0be9364bc Move creation of resolve_module_paths to master GC
svn: r12802
2008-12-12 19:35:07 +00:00
Kevin Tew
38682c8130 Modify mz_proc_threads to have a pt_mbox by default
svn: r12801
2008-12-12 19:35:00 +00:00
Kevin Tew
923d43001e Modified designate_modified to check master gc
svn: r12800
2008-12-12 19:34:55 +00:00
Kevin Tew
60b3591910 Added pt_mbox
svn: r12799
2008-12-12 19:34:49 +00:00
Kevin Tew
c50d7fed82 Add condition variable support to mzrt
svn: r12798
2008-12-12 19:34:44 +00:00
Kevin Tew
14e565b82b Added stub spawn_master_scheme_place
svn: r12797
2008-12-12 19:34:38 +00:00
Kevin Tew
131e996974 added cleanup for pagemaps
svn: r12796
2008-12-12 19:34:33 +00:00
Kevin Tew
32771932c9 Add make dependency for gc2/sighand.c
svn: r12795
2008-12-12 19:34:27 +00:00
Kevin Tew
51399481c4 Add support for creating a place with a module and a channel
svn: r12794
2008-12-12 19:34:22 +00:00
Kevin Tew
1f836aea24 Added GC_switch_out_master_gc and GC_construct_child_gc
svn: r12793
2008-12-12 19:34:17 +00:00
Eli Barzilay
ac5d6d66c1 make call-in-nested-thread avoid potential break problem
svn: r12792
2008-12-12 17:25:03 +00:00
Eli Barzilay
90492a0606 avoid timer-killing problem; cust-box might not be set
svn: r12791
2008-12-12 17:22:24 +00:00
Jay McCarthy
0c093b73f1 Contract
svn: r12790
2008-12-12 16:59:28 +00:00
Eli Barzilay
3fcc58c05e minor improvements
svn: r12789
2008-12-12 13:43:05 +00:00