épuisé

Escape Analysis in the Context of Dynamic Compilation and Deoptimization

Anglais · Livre de poche

Description

En savoir plus

With the growing popularity of Java, dynamic compilation has received increased attention. It improves the performance of virtual machines by translating the bytecodes of an application into optimized machine code while the application is running. Since compilation time adds to run time, a dynamic compiler must achieve a trade-off between time spent on optimizations and execution speed of the resulting machine code. A new escape analysis algorithm in the dynamic compiler of Sun Microsystems' Java HotSpot VM identifies objects that are accessible only by a single method or thread. Its results are used to replace fields of objects with scalar variables, to allocate objects on the stack instead of the heap, and to remove synchronization. The produced machine code is smaller and executes faster because fewer objects are allocated on the heap and the garbage collector runs lessfrequently. An interprocedural analysis supports the compiler in inlining decisions and detects parameters that can be allocated in the stack frame of the caller. When the machine code needs to be deoptimized because dynamic class loading invalidates assumptions of the compiler, the optimized objects are reallocated on the heap and relocked as necessary. This book presents the new escape analysis algorithm and illustrates its work with several examples. It describes the implemented optimizations and evaluates them on a set of typical benchmarks and applications. Special attention is paid to the modifications of the garbage collector and the deoptimization framework that allows a safe execution of optimized methods.

Détails du produit

Auteurs Thomas Kotzmann
Edition Trauner
 
Langues Anglais
Format d'édition Livre de poche
Sortie 01.01.2006
 
EAN 9783854879688
ISBN 978-3-85487-968-8
Pages 144
Poids 197 g
Thèmes Schriftenreihe der Johannes-Keppler-Universität Linz, Reihe C
Schriftenreihe der Johannes-Keppler-Universität Linz, Reihe C
Catégorie Sciences naturelles, médecine, informatique, technique > Informatique, ordinateurs > Informatique

Commentaires des clients

Aucune analyse n'a été rédigée sur cet article pour le moment. Sois le premier à donner ton avis et aide les autres utilisateurs à prendre leur décision d'achat.

Écris un commentaire

Super ou nul ? Donne ton propre avis.

Pour les messages à CeDe.ch, veuillez utiliser le formulaire de contact.

Il faut impérativement remplir les champs de saisie marqués d'une *.

En soumettant ce formulaire, tu acceptes notre déclaration de protection des données.