Damien Doligez
5401ce8473
Update headers for the new license.
...
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
François Bobot
e402d38dfe
[GC] add full-featured ephemerons in an inefficient way
...
- use the generic abstract tag like weak pointers
- a weak pointer is implemented using an ephemeron (one additionnal word)
- add for every full GC a complexity of O((n+m)*(m+1))
with m the number of pure ephemerons,
n the number of ephemerons used as weak pointers
- multiple keys, modifiable keys
2016-01-23 11:28:01 +01:00
Damien Doligez
40d78a80d6
fix wrong variable name caml_stat_heap_size
2015-12-21 14:27:47 +01:00
Damien Doligez
c9003ac48f
fix huge pages vs renaming of caml_stat_heap_size
2015-12-21 14:27:46 +01:00
Damien Doligez
0225ca01e3
GC latency improvements
2015-12-21 14:27:46 +01:00
Mark Shinwell
8df90ef051
Port fix for GPR#191 to trunk (making gc.h and some part of memory.h public)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16163 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-06-08 13:21:42 +00:00
Damien Doligez
c09c894a3a
do not compact if the heap is already near its minimum size
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15767 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-01-07 19:30:28 +00:00
Gabriel Scherer
7ca29ef3f7
PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes
...
(Jérôme Vouillon and Adrien Nader and Peter Zotov)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15757 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-27 14:41:49 +00:00
Damien Doligez
d5b3d2f7e4
more cleanup of char * and sizes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15747 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-24 20:18:22 +00:00
Damien Doligez
1cb0b23a08
Start tidying up the runtime:
...
- document most of the "size" and "length" parameters and global variables,
specifying bytes or words. Change some of them from bytes to words.
- start getting rid of "char *" and use sensible types instead.
- other small changes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15647 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-12 15:18:04 +00:00
Alain Frisch
a51080b15a
No need for caml_init_exceptions.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/raise_variants@14288 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-13 13:16:15 +00:00
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
526d44647b
PR#5757: GC compaction bug (crash)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12912 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-10 10:25:18 +00:00
Damien Doligez
0c3a7de507
merge changes from 4.00 branching to 4.00.0 (part 1)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-26 19:21:54 +00:00
Damien Doligez
3b084cb4ad
PR#5389 (followup): update caml_stat_heap_chunks
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12525 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-31 12:18:11 +00:00
Damien Doligez
00f949df97
remove leftover debugging message
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 11:49:28 +00:00
Damien Doligez
b510b67cb5
PR#5389: compaction sometimes leaves a very large heap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12365 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-17 08:21:52 +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
Damien Doligez
8ecf3fc156
better anti-fragmentation measures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8822 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 12:56:15 +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
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
e6007f6057
fusion des changements jusqu'a 3.08.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +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
df0a2df619
PR#1927 et PR#1929
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5937 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-20 21:02: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
Damien Doligez
2cea587bdf
ajout message verbose
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4879 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-05 12:10:15 +00:00
Damien Doligez
3b358c7349
fix declenchement du compactage
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4854 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-28 16:57:31 +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
cdf19e15fc
bcopy -> memmove; pas de virgule finale dans instruct.h
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3310 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-12 18:05:42 +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
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
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
ddc93821b8
ajout assert pour eviter le bug d'alignement des racines
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2492 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-08 17:31:19 +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
Damien Doligez
36bb9a9b86
Changement pour les threads.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1903 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-04-06 16:32:33 +00:00
Xavier Leroy
4c8f23357d
Petites erreurs de types
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1697 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-09-02 13:13:33 +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
Damien Doligez
e399e61725
roots.c: variable inutile
...
compact.c weak.c: bug entre pointeurs faibles et compactage.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1577 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-06-02 12:51:51 +00:00
Damien Doligez
69d8a82e3f
compact.c: options du runtime -> unsigned long
...
arrondi dans le calcul de pourcentage
changement de max_overhead
config.h: changement de max_overhead
freelist.c: meilleure defragmentation
gc_ctrl.c: meilleure defragmentation; options du runtime -> unsigned long;
arrondi dans les calculs de heap_increment
gc_ctrl.c: options du runtime -> unsigned long;
major_gc.c: changement de space_overhead
stacks.c: message pour afficher max_stack_size
startup.c: options du runtime -> unsigned long
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1568 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-21 15:28:15 +00:00
Damien Doligez
03ec746bf1
deTABisation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-19 15:42:21 +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