Commit Graph

50 Commits (9f8b1487610aedefcee57fdb9318af9c3cdde3db)

Author SHA1 Message Date
Damien Doligez def31744f9 remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez 997a678d5e clean up TABs and whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 18:04:46 +00:00
Damien Doligez e7f5b858c2 More renaming to OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 16:15:24 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Xavier Leroy 09ba69134f - Refactoring of otherlibs/systhreads
- PR#4702: added C functions to register threads not created by Caml
- PR#5013: wrong implementation of condition variables under Win32
- PR#4979: wrong error code handling under Win32
- Added standard include <caml/threads.h> 
- Added "stack_size" field in GC statistics.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 07:55:08 +00:00
Xavier Leroy 7b4d9a46a3 New API for registration of global memory roots that are scanned in a generational manner
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8828 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-10 19:56:39 +00:00
Damien Doligez 04aa158cb6 merge changes from 3.10.1 to 3.10.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 14:21:22 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Alain Frisch 3958a92c72 Merge the natdynlink branch into HEAD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Alain Frisch 5b23012b0e wrong branch... rollback
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-15 18:36:08 +00:00
Alain Frisch a06311fc5f starting to implement native dynlink for Unix
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7864 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-15 18:32:09 +00:00
Xavier Leroy 4b5512c74c Stack backtraces on uncaught exceptions in native code (merge of the opt_backtrace branch)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 12:11:18 +00:00
Xavier Leroy 3de54dec26 Remplacement long/unsigned long par intnat/uintnat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-22 14:21:50 +00:00
Damien Doligez 0c7aecb88d depollution suite (et fin?) (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-02 19:23:29 +00:00
Damien Doligez 5a678d29f5 depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00
Damien Doligez 331b2d89c3 depollution suite (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-31 14:20:40 +00:00
Damien Doligez e962b870e8 bug lazy dans ocamlopt + diverses bricoles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 22:20:58 +00:00
Damien Doligez 09a8c6bc78 configure: suppression "smart preprocessing" pour MacOS X
asmrun/roots.c, byterun/alloc.c, byterun/gc_ctrl.c, byterun/minor_gc.c,
byterun/minor_gc.h, byterun/roots.c, byterun/startup.c:
         derecursivation du GC mineur

byterun/config.h, stdlib/gc.mli: compactage active par defaut (300%)

otherlibs/unix/select.c: ajout include MacOS X

.cvsignore: bricoles


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4264 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-18 15:13:26 +00:00
Xavier Leroy 7501784c80 MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy b19236a7b1 Revu gestion des racines globales (utilisation d'une skip list pour accelerer remove_global_root)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3630 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-11 17:36:38 +00:00
Damien Doligez 4dcc3bec1d #include manquants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-10 20:30:38 +00:00
Damien Doligez 0a2021e986 finalisation de valeurs allouees
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2746 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-07 16:51:58 +00:00
Damien Doligez 9968714ee2 optimisation des racines globales pour le GC mineur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2733 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-05 13:16:31 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Xavier Leroy 599307795e Se proteger contre le cas sp == 0 (pas de pile ML active)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2016 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-07-29 11:52:59 +00:00
Xavier Leroy fac2c70093 Protoization
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1814 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-27 16:33:08 +00:00
Xavier Leroy 5866ccca18 Revision de l'interface avec le GC, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-27 16:28:40 +00:00
Xavier Leroy beaa636723 Revision de l'interface avec le GC, debut
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1797 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-21 13:46:23 +00:00
Xavier Leroy 5721a56975 Rendre public gc_entry_regs[32] et gc_entry_float_regs[32]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1794 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-20 15:31:10 +00:00
Xavier Leroy 1517cea772 Sources C convertis en ANSI C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-09-02 12:55:01 +00:00
Xavier Leroy bec90463c8 Revu completement l'allocation des buffers d'I/O.
Nettoyage du code d'I/O.
Ajout de hooks pour verrouiller en conjonction avec otherlibs/systhreads.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1693 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-08-29 15:37:22 +00:00
Damien Doligez 50a74afc47 variable inutile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1576 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-06-02 12:51:25 +00:00
Damien Doligez 9544810249 unification local_roots/local_roots_new
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1575 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-06-01 17:15:19 +00:00
Damien Doligez 8555ce8fe7 Changement de Push/Pop_roots en Begin/End_roots
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1572 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-26 17:16:31 +00:00
Damien Doligez 98b6d9e18f compactage
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1539 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-13 14:45:38 +00:00
Xavier Leroy d058711cc9 Traiter le cas caml_bottom_of_stack = NULL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1448 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-24 10:58:02 +00:00
Xavier Leroy c41e852408 Suppression de caml_top_of_stack.
Partage de code entre caml_start_program et callback*.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-17 10:17:32 +00:00
Xavier Leroy 6c76e7e834 Ajout de remove_global_root
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1218 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-12-10 15:39:51 +00:00
Xavier Leroy 2301d778e7 Renommage en Objective Caml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy b24b1296ee fail.c: revu le nettoyage des racines locales C.
roots.c: utiliser le nouvel include stack.h
alpha.asm: revu la propagation des exceptions a travers un callback.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-20 10:40:34 +00:00
Xavier Leroy b8e27fec6c roots: parametrer davantage l'acces a la structure callback_link
utiliser frame_size < 0 plutot que num_roots < 0 comme indication,
       sinon le passage d'un frame au suivant est possiblement bugge.
sparc: ajout du code de callback C -> Caml


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-19 16:00:40 +00:00
Xavier Leroy 30a3062e99 Implementation des callbacks C -> ML.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-19 15:09:33 +00:00
Xavier Leroy 09fc490852 Portage HP-PA
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@467 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-26 14:38:29 +00:00
Xavier Leroy cddab28830 Ajout de scan_hook.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@366 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-10-30 10:20:08 +00:00
Xavier Leroy e4066357b1 Ajout des notices de copyright
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-09 15:06:35 +00:00
Xavier Leroy 2ee785a0c7 MAJ portage Sparc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@122 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-07-18 17:40:23 +00:00
Xavier Leroy 7005c1670d Suppression d'une indirection sur les globaux.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@110 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-07-17 16:10:45 +00:00
Xavier Leroy 8137de9583 Pour le MIPS, implementation du bit "deja scanne".
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@106 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-07-13 17:16:52 +00:00
Xavier Leroy a60e6cc08a Makefile: utilisation de VPATH pour pouvoir employer un compilo C
different de celui du runtime bytecode.
roots.c: ajout du Mips.
alpha.asm: on emploie $25 dans raise_exception pour garder trace du raise.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@89 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-07-12 14:27:10 +00:00
Xavier Leroy c226d5efeb Branchement du GC de la version bytecode sur le compilateur natif
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@72 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-07-10 09:48:27 +00:00