diff options
| author | Damien Doligez <damien.doligez-inria.fr> | 2012-04-17 08:21:52 +0000 |
|---|---|---|
| committer | Damien Doligez <damien.doligez-inria.fr> | 2012-04-17 08:21:52 +0000 |
| commit | b510b67cb56e96588b81c537fab0d100c2fc0aac (patch) | |
| tree | 9bf4b01cffade6422928371850720184530aac6a /byterun/memory.c | |
| parent | 38162c1196a71da8dfb4604b2124cf8b66a72dd7 (diff) | |
| download | ocaml-b510b67cb56e96588b81c537fab0d100c2fc0aac.tar.gz | |
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
Diffstat (limited to 'byterun/memory.c')
| -rw-r--r-- | byterun/memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/byterun/memory.c b/byterun/memory.c index b0801f130b..b99825d185 100644 --- a/byterun/memory.c +++ b/byterun/memory.c @@ -255,6 +255,8 @@ void caml_free_for_heap (char *mem) caller. All other blocks must have the color [caml_allocation_color(m)]. The caller must update [caml_allocated_words] if applicable. Return value: 0 if no error; -1 in case of error. + + See also: caml_compact_heap, which duplicates most of this function. */ int caml_add_to_heap (char *m) { |
