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
[Caml-list] ocamljitrun - new release (for new method send)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-06-04 (14:54)
From: Basile Starynkevitch local <basile.starynkevitch@i...>
Subject: [Caml-list] ocamljitrun - new release (for new method send)
Dear All,

I just adapted ocamljitrun - see to the new cached
sending method protocol (as in Ocaml CVS and probably future release)

The cached method send [ie the new GETPUBMET bytecode operation] uses
a cache (in the bytecode), and calls runtime routine (in byterun/obj.c
- functions caml_get_public_method and caml_cache_public_method) only
for cache misses. The cache test and retrieval is inlined (inlining
the dichotomical search is not worthwhile, it would expand the
GETPUBMET bytecode into about a hundred bytes of machine code...).

Ocamljitrun still don't run on PowerPC because of a pending GNU
lightning book (which is worked on by lightning authors).


Basile STARYNKEVITCH -- basile dot starynkevitch at inria dot fr
Project - phone +33 1 3963 5197 - mobile 6 8501 2359 --- all opinions are only mine 

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: