Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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