From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id C0267BBAF for ; Thu, 28 Oct 2010 23:48:26 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqUAADOMyUzUnwdjimdsb2JhbACTW4EjjFUVAQEBCgkMBw8GHr8phUgEjVs X-IronPort-AV: E=Sophos;i="4.58,254,1286143200"; d="scan'208";a="85695409" Received: from relay.pcl-ipout01.plus.net ([212.159.7.99]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 28 Oct 2010 23:48:26 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsFADOMyUzUnw4R/2dsb2JhbACTW4EjjFVxvymFSASNWw Received: from outmx02.plus.net ([212.159.14.17]) by relay.pcl-ipout01.plus.net with ESMTP; 28 Oct 2010 22:48:25 +0100 Received: from [87.115.252.195] (helo=WinEight) by outmx02.plus.net with esmtp (Exim) id 1PBaKf-0006pV-Ft for caml-list@inria.fr; Thu, 28 Oct 2010 22:48:25 +0100 From: "Jon Harrop" To: Subject: How does OCaml update references when values are moved by the GC? Date: Thu, 28 Oct 2010 22:48:06 +0100 Message-ID: <00a001cb76e9$cebd4880$6c37d980$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Act26cxPiEc1zPuNSVSSSLaGPlqoFg== Content-Language: en-gb x-cr-hashedpuzzle: rb4= ATAO Apen Au8R CDKB Dn6X DsGz ETGS F2I5 Iw+n I8sU J5Mp KBlm KPaS KSmH K8zV;1;YwBhAG0AbAAtAGwAaQBzAHQAQABpAG4AcgBpAGEALgBmAHIA;Sosha1_v1;7;{A6068C9C-7B7B-4B35-8192-7B5080FFE574};agBvAG4AQABmAGYAYwBvAG4AcwB1AGwAdABhAG4AYwB5AC4AYwBvAG0A;Thu, 28 Oct 2010 21:48:03 GMT;SABvAHcAIABkAG8AZQBzACAATwBDAGEAbQBsACAAdQBwAGQAYQB0AGUAIAByAGUAZgBlAHIAZQBuAGMAZQBzACAAdwBoAGUAbgAgAHYAYQBsAHUAZQBzACAAYQByAGUAIABtAG8AdgBlAGQAIABiAHkAIAB0AGgAZQAgAEcAQwA/AA== x-cr-puzzleid: {A6068C9C-7B7B-4B35-8192-7B5080FFE574} X-Spam: no; 0.00; ocaml:01 ocaml:01 frog:98 heap:01 stacks:03 ltd:87 does:14 does:14 www:84 references:16 references:16 values:21 values:21 when:22 when:22 How does OCaml update references in the stacks and heap when values are moved by the GC? -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com