caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hendrik Tews <H.Tews@cs.ru.nl>
To: Hendrik Tews <H.Tews@cs.ru.nl>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] caml_oldify_local_roots takes 50% of the total runtime
Date: Fri, 15 Dec 2006 11:56:08 +0100	[thread overview]
Message-ID: <wwuvekdxwaf.fsf@tandem.cs.ru.nl> (raw)
In-Reply-To: <17727.34685.561877.977822@tandem.cs.ru.nl> (Hendrik Tews's message of "Wed, 25 Oct 2006 17:49:17 +0200")

Hi,

issue 4145 (http://caml.inria.fr/mantis/view.php?id=4145) has
been closed in the meantime because

    doligez - 2006-11-15 13:19  
   ---------------------------------------------------------------------- 
   Unfortunately, we cannot know which global C roots point to the minor heap,
   since we don't have a write barrier on C variables.

I find this reason not satisfying at all. If a write barrier is
needed, then one could easily stipulate one by providing a
suitable macro CAML_modify_global_root.

With the above line of reasoning it should not be allowed to hold
any ocaml value in a C variable, because a write barrier is
needed for objects that are not in the young generation.

Hendrik


      parent reply	other threads:[~2006-12-15 10:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-25 15:49 Hendrik Tews
2006-10-25 18:21 ` [Caml-list] " Markus Mottl
2006-10-25 19:01   ` skaller
2006-10-26  9:50     ` Hendrik Tews
2006-10-26 13:48     ` Gerd Stolpmann
2006-10-27 11:36       ` Hendrik Tews
2006-10-27 13:17         ` Brian Hurt
2006-10-27 20:05           ` Robert Roessler
2006-10-27 21:16           ` Pierre Etchemaïté
2006-10-30  7:50           ` Hendrik Tews
2006-10-26  9:47   ` Hendrik Tews
2006-10-26 14:54     ` Markus Mottl
2006-12-15 10:56 ` Hendrik Tews [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wwuvekdxwaf.fsf@tandem.cs.ru.nl \
    --to=h.tews@cs.ru.nl \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).