[
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: | -- (:) |
| From: | dmitry grebeniuk <gds-mlsts@m...> |
| Subject: | GC question |
Hello, caml-list. I have some objects (custom blocks with method suite attached) which can be referenced from caml heap. How to ensure that finalisation function is called for all non-referenced objects? I know, call to caml_gc_full_major(Val_unit) will do this work, but it can be costly when there are many values on the heap (or not?). Are there any quicker solution? (I can make no assumptions about "age" (young/old) of allocated custom blocks and about current GC state) -- WBR, dmitry mailto:gds-mlsts@moldavcable.com