English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
how to enlarge header of blocks?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-08-26 (08:10)
From: Christian Lindig <lindig@c...>
Subject: how to enlarge header of blocks?

For tracking additional information about heap blocks I'd like to store  
an additional word in each block. Has anybody experience with changing  
the compiler and run-time system accordingly?

The layout of blocks is defined by #defines in mlvalues.h; however, it  
wasn't obvious for me how to enlarge the header. Also, there must be  
corresponding definitions in the compiler source code.

I have asked this question essentially before but did not receive any  
useful pointers at that time.


-- Christian