Commit graph

111 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
2c8690bf58 Out of memory errors are now somewhat restartable. 2009-05-20 22:03:58 +02:00
Samium Gromoff
da102ce9bd Unprotected allocation. 2009-04-23 22:07:27 +02:00
Juan Jose Garcia Ripoll
4a351ae057 Fixes related to the new version of garbage collector and the Windows port. 2009-04-03 19:09:33 +02:00
Juan Jose Garcia Ripoll
3687fa0812 Upgraded Boehm-Weiser garbage collector to version 7.1 2009-04-03 18:01:00 +02:00
Juan Jose Garcia Ripoll
8004e7e027 Removed the entry_fixed pointer because we are not using it. 2009-02-21 22:51:36 +01:00
Juan Jose Garcia Ripoll
8697d90d4b The {instance,bytecodes,bclosure}.entry{,_fixed} fields were not always filled 2009-02-15 16:25:01 +01:00
Juan Jose Garcia Ripoll
f096fdac51 Initial changes for a common dispatch function 2009-02-13 17:05:21 +01:00
Juan Jose Garcia Ripoll
061b9d0e78 New function, EXT:HEAP-SIZE to change the memory limits 2009-01-27 21:49:52 +01:00
Juan Jose Garcia Ripoll
f7c965c3be The single-threaded code did not build. file_listen() does not work on actual files. 2008-10-26 13:30:40 +01:00
Juan Jose Garcia Ripoll
d916ff8349 Replaced EXT:SET-STACK-SIZE with the pair EXT:SET/GET-LIMIT which also allows to adjust the heap size. 2008-10-25 20:49:00 +02:00
Juan Jose Garcia Ripoll
0a286237d6 Add detection of out of memory conditions. 2008-10-25 17:53:35 +02:00
Juan Jose Garcia Ripoll
0210ca16d0 Removed debugging statement 2008-10-12 23:28:13 +02:00
Juan Jose Garcia Ripoll
5cfb4c0919 Use of lists to keep the list of libraries is safe against threads and signal race conditions. 2008-10-12 00:26:05 +02:00
Juan Jose Garcia Ripoll
5a41a55a2d Since dpp now generates code that uses 'the_env', it has to be defined in functions that use @(return) 2008-10-11 23:47:40 +02:00
Juan Jose Garcia Ripoll
ed584a62c5 Deprecate name: cl_dealloc (-> ecl_dealloc) 2008-10-11 23:14:54 +02:00
Juan Jose Garcia Ripoll
cbe49afc5b Unify the sources for windows and posix threads 2008-10-11 11:38:15 +02:00
Juan Jose Garcia Ripoll
5bda4b4f61 All allocation functions are now in the ECL library and they now have the ecl_* prefix. Old names are kept in macro form. 2008-10-10 22:36:15 +02:00
Juan Jose Garcia Ripoll
45ab6f72fe New signal handlers which delay signals until an interruptible safe point is reached. 2008-10-07 23:59:57 +02:00
Juan Jose Garcia Ripoll
89a5283927 Implemented an interface for setting/querying options with numeric values and used it for stack sizes and limits. 2008-10-02 11:11:58 +02:00
jjgarcia
f568712bc4 Code for detecting stack overflows, grown on top of ideas from Geo Carncross. 2008-09-30 21:09:35 +00:00
jjgarcia
aa50e7ef4c Separate lisp objects for functions with fixed and variable # arguments 2008-06-19 15:08:03 +00:00
jjgarcia
9a5f1a7751 Introduce bytecode closure objects to save space in FLET/LABELS forms 2008-06-19 15:04:27 +00:00
jjgarcia
eadbb9cf11 Make the incremenal garbage collector optional until we solve why some platforms break with it. 2008-05-30 15:33:07 +00:00
jjgarcia
b6e8622682 Enable incremental garbage collection 2008-05-30 12:28:49 +00:00
jjgarcia
2515dc55c8 No GC_* function can be called before GC_init 2008-05-29 06:44:55 +00:00
jgarcia
a30a214e47 Garbage collection statistics was broken for libraries other than the one ECL is shipped with 2008-05-20 12:10:25 +00:00
jgarcia
8800b254f5 Committed the changes to implement small conses 2008-04-30 14:24:20 +00:00
jgarcia
bb15f84ac9 ECL can be built without GMP again 2008-04-22 10:26:53 +00:00
jgarcia
5ef5d32e74 Enforce indent and mode conditions on files 2008-01-26 10:30:41 +00:00
jgarcia
566e435743 GC_PTR is not defined in pre-installed version of the garbage collector 2007-12-23 19:56:47 +00:00
jgarcia
200fff4707 Implemented condition variables and recursive locks (Dan Corkill) 2007-12-01 15:53:13 +00:00
jgarcia
ac0e263ce9 Fixed a dead-lock when combining finalization/gc statistics with threads. 2007-11-18 16:59:49 +00:00
jgarcia
337724e7bf ecl_free_uncollectable() does not return any value 2007-03-24 11:20:37 +00:00
jgarcia
3b88916395 Fixed typo 2007-03-24 11:13:40 +00:00
jgarcia
aa3dfe4058 Prefix most functions with 'ecl_' to avoid name collisions when embedding ECL in other libraries 2007-01-18 11:46:07 +00:00
jgarcia
5e6d7052a5 New method of counting consed bytes, does not cons any bignum and provides also GC counts 2006-12-24 12:12:37 +00:00
jgarcia
478992d019 TIME has some limited consing statistics. 2006-12-23 16:23:50 +00:00
jgarcia
75fb4cd6b6 Minimize number of headers included by ecl/ecl.h 2006-10-23 21:24:04 +00:00
jgarcia
a8ba6f5c01 Initital support for long double and immediate short floats. 2006-10-13 17:28:51 +00:00
jgarcia
1053171e2d Nested calls to queue_finalizer trashed the value of cl_core.to_be_finalized. 2006-10-10 15:09:59 +00:00
jgarcia
20e0a720c9 Replace cl_env.token with a pool of strings. 2006-09-25 17:13:31 +00:00
jgarcia
f058a1b847 Only nonstandard finalizers are queued. 2006-09-25 09:23:51 +00:00
jgarcia
94d7ee29ee Implemented finalizers as lisp functions. 2006-09-25 08:32:46 +00:00
jgarcia
12799c7305 Move from short/long-float to single/double-float (by L. Brinkhoff) 2006-09-01 15:15:57 +00:00
jgarcia
ff0be77070 Support for unicode strings as data structure (no clever handling of characters yet) contributed by Brian Spilsbury. 2006-05-29 08:51:21 +00:00
mgoffioul
554f795826 Include winsock.h, required with MSVC. 2006-04-26 13:39:44 +00:00
jgarcia
f2ab7ade00 ECL now builds against third-party versions of the Boehm-Weiser garbage collector 2006-04-26 10:02:15 +00:00
jjgarcia
1b0f9613f0 All installable headers are now copied to ecl/. GC headers in particular are stored under ecl/gc and ecl/gc/private. 2006-03-07 16:39:34 +00:00
jjgarcia
faf83d0613 Somehow we got back the definition THREADS instead of ECL_THREADS in several files 2006-03-02 09:27:53 +00:00
jjgarcia
d9997268f8 Final fixes to make the new directory structure work with MSVC++ 2006-02-28 14:21:26 +00:00