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
[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
http://cristal.inria.fr/~starynke/ocamljit.html 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 cristal.inria.fr - phone +33 1 3963 5197 - mobile 6 8501 2359
http://cristal.inria.fr/~starynke --- all opinions are only mine 

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners