Browse thread
Garbage collection and caml_adjust_gc_speed
-
Christopher Kauffman
-
Damien Doligez
-
Christopher Kauffman
- Christopher Kauffman
-
Christopher Kauffman
-
Damien Doligez
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-08-31 (15:34) |
From: | Christopher Kauffman <kauffman@c...> |
Subject: | Re: [Caml-list] Garbage collection and caml_adjust_gc_speed |
Christopher Kauffman wrote: >> What I find surprising is that this simple function would dominate the >> run >> time of your program. I suspect some problem with gprof. Could you >> give us >> more details about the computations performed by your program? > > I suppose it is possible that creating the > aliased > name could affect the garbage collector (it might look like the > allocation of > another Bigarray so I will experiment with the second style. I altered some of the code in my program to remove aliases that were created by the style mentioned in my previous post. This did not seem to affect the number of times caml_adjust_gc_speed was called. I guess my questions will go unanswered until I find some time to dig into the inner workings of the garbage collector. Let me know if someone sees this in the future and has similar problems and/or finds a solution. -Chris