[LLVMdev] question on the ocaml compatible collector

Benedikt Grundmann benedikt-grundmann at web.de
Sun Nov 22 09:32:46 PST 2009


Browsing

http://llvm.org/releases/2.5/docs/GarbageCollection.html#ocaml

I stumbled across the sentence

"...The ocaml collector does not use read or write barriers, so the
user program may use load and store instead of llvm.gcread and
llvm.gcwrite..."

Which I believe is wrong as the ocaml collector does indeed use a
write barrier (caml_modify).  But maybe I misunderstood?

Thanks,

Benedikt Grundmann

-- 
Calvin: I try to make everyone's day a little more
surreal.

(From Calvin & Hobbes)



More information about the llvm-dev mailing list