Fabrice Le Fessant
4c4a9fc507
Fix of #5467 : no extern C in header files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-07 20:55:28 +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
4d7a905b69
Trigger GC when alloc_ptr < alloc_start, not < alloc_limit.
...
(In native code, the latter test triggers unneeded GCs after a signal
is recorded.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-09 11:56:21 +00:00
Damien Doligez
1f95b17570
merge changes from 3.10.2merged to 3.11.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +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
Xavier Leroy
a3c0366f4e
PR#4448: replace dense page table by sparse hash table.
...
Introduction and use of macros Is_in_value_area, Is_in_heap_or_young.
Removal of USE_MMAP_INSTEAD_OF_MALLOC.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8743 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-03 09:37:10 +00:00
Damien Doligez
d148e1954e
grosse amelioration des Weak a courte duree de vie
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-04 14:05:13 +00:00
Damien Doligez
f700284aac
fusion des changements 3.09.3 -> release309_merge310
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 13:31:15 +00:00
Damien Doligez
fbea66a95e
fusion des changements 3.09.2 -> 3.09.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Xavier Leroy
458c0174be
attribute(unused) not recognized on ancient versions of gcc. Attempt to fix.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7129 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-14 16:40:48 +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
7519fe8f6b
fusion des bugfixes de 3.08.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-25 00:06:06 +00:00
Xavier Leroy
237006931a
Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:19:15 +00:00
Damien Doligez
68a411d870
ajout reglage de vitesse du GC pour mlgmp
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6405 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 15:17:43 +00:00
Damien Doligez
db3745919b
suppression des warnings "unused variable" de gcc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6299 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-17 17:10:00 +00:00
Damien Doligez
258c929f64
PR#1914,PR#1956, suppression du portage Mac OS 9
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-05 20:26:19 +00:00
Damien Doligez
85b4903902
typo dans un commentaire
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-03 12:50:41 +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
31943bac1d
depollution suite (PR#1914 et PR#1956); byterun/weak.c: PR#1929 suite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-29 22:15:02 +00:00
Damien Doligez
8fde08275d
deuxieme tranche des travaux de depollution (PR#1914 et PR#1956) + dependances
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-15 16:29:53 +00:00
Damien Doligez
1ceb86a2ea
PR#1495
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-12 18:59:11 +00:00
Xavier Leroy
c9c0e6d13c
Nettoyage alloc_for_heap, free_for_heap. Prevoir d'utiliser mmap() au lieu de malloc() pour allouer le tas majeur (utile pour IA64/Linux)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4867 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-03 14:21:50 +00:00
Jun FURUSE / 古瀬 淳
6d62b98893
typo in comment fixed: CAMLreturn1 -> CAMLreturn
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4530 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-14 09:48:57 +00:00
Xavier Leroy
75fb773561
Revu gestion endianness des flottants (pour le StrongARM). Revu installation des .h publics
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-19 14:37:44 +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
Damien Doligez
4cf1247851
cosmetique
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3867 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-09 14:35:20 +00:00
Xavier Leroy
ddd99c7e5d
Chargement dynamique de primitives C
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-28 14:47:48 +00:00
Damien Doligez
5f4fd94902
bug de Gc.counters + blindage des macros
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3635 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-13 13:53:51 +00:00
Xavier Leroy
0e71b96798
En natif, ne pas appeler garbage_collection depuis Alloc_small; cela peut provoquer un callback vers Caml (e.g. pour changer de contexte) qui fiche la pagaille dans du code C qui s'estime protege par le master lock (e.g. input_val)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3589 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-07-23 15:34:14 +00:00
Damien Doligez
0b9d867f2f
petit probleme avec Assert
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-08-23 17:13:53 +00:00
Damien Doligez
a843096a99
codes pour faciliter le debug
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-03 08:34:22 +00:00
Damien Doligez
ecc3a9c70d
suppression de Push_roots et Pop_roots
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2752 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-11 15:19:35 +00:00
Damien Doligez
794e9c495b
Blue -> Caml_blue etc.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2725 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-02 16:10:00 +00:00
Damien Doligez
7c4d1fb990
probleme de compatibilite avec ANSI C
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-23 18:01:51 +00:00
Damien Doligez
88d56510f2
CAMLreturn -> CAMLreturn0, CAMLreturn()
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:03:10 +00:00
Damien Doligez
4eb4386aaf
fix bug CAMLparam
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2577 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-20 15:04:56 +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
Damien Doligez
fe05512188
elimination d'un typedef superflu qui ne passe pas en MacOSXS
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2525 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-15 13:50:48 +00:00
Xavier Leroy
d9402821fe
Typos dans les nouvelles macros CAMLxxxx
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2223 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-12-03 15:42:32 +00:00
Damien Doligez
026a054a3c
leger bug
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2190 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-23 17:54:33 +00:00
Damien Doligez
c7938e8ac2
divers bugs dans les nouvelles macros
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2140 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-04 10:54:36 +00:00
Damien Doligez
3be947947e
nouvelles fonctions alloc/alloc_small
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2134 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-10-26 19:19:32 +00:00
Damien Doligez
b42c106db5
ajout free_for_heap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-12 12:37:26 +00:00
Damien Doligez
16cf256535
changement gc_message
...
alloc_for_heap, add_to_heap, allocation_color
mauvais parametres alloc_final dans io.c
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-07 18:43:39 +00:00
Pierre Weis
a75b7469a3
Bug dans commentaire de local_roots
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1870 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-02-06 18:35:29 +00:00
Xavier Leroy
0436b11bfd
Nouvelle interface pour do_local_roots en natif
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1793 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-20 15:30:43 +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
Jérôme Vouillon
210c4d198d
Erreur de syntaxe dans macro Push_roots.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1607 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-06-15 12:36:20 +00:00