address_of obj returns the address of obj, or 0n if obj is not a block.
address_of obj
obj
0n
attach fd baseaddr attaches to a new or existing file which may contain shared objects.
attach fd baseaddr
detach md detaches from an existing file, and closes it.
detach md
get md key returns the object indexed by key in the attached file.
get md key
key
is_ancient ptr returns true if ptr is an object on the ancient heap.
is_ancient ptr
ptr
mark obj copies obj and all objects referenced by obj out of the OCaml heap.
mark obj
Same as Ancient.mark, but also returns some extra information.
Ancient.mark
share md key obj does the same as Ancient.mark except that instead of copying the object into local memory, it writes it into memory which is backed by the attached file.
share md key obj
Same as Ancient.share, but also returns some extra information.
Ancient.share