Techniques for performing static binding of dispatched-calls in the
presence of dynamic linking and loading are provided. A method for
increasing the execution performance of a function at run-time includes
compiling the function, which may either be interpreted or previously
compiled, and identifying a call within the function to a process. The
method also includes adding dependency information to the function. The
dependency information is arranged to indicate a status of the function,
and contains information pertaining to the class, the name, and the
signature associated with the process. In one embodiment, the process is a
virtual process, and the method includes analyzing a class structure
associated with the function in order to determine when the virtual
process is a substantially unique target of the call. In such an
embodiment, the virtual process may be inlined into the function when it
is determined that the virtual process is the substantially unique target
of the call.
Les techniques pour effectuer l'attache statique de expédier-appelle en présence de l'enchaînement dynamique et chargeant sont fournis. Une méthode pour augmenter l'exécution d'exécution d'une fonction au temps d'exécution inclut compiler la fonction, qui peut être interprétée ou précédemment compilée, et identifier un appel dans la fonction à un processus. La méthode inclut également ajouter l'information de dépendance à la fonction. L'information de dépendance est arrangée pour indiquer un statut de la fonction, et contient l'information concernant la classe, le nom, et la signature liée au processus. Dans une incorporation, le processus est un processus virtuel, et la méthode inclut analyser une structure de classe liée à la fonction afin de déterminer quand le processus virtuel est une cible essentiellement unique de l'appel. Dans une telle incorporation, le processus virtuel peut être inlined dans la fonction quand on le détermine que le processus virtuel est la cible essentiellement unique de l'appel.