Skip to Main content Skip to Navigation
Conference papers

A detailed VM profiler for the Cog VM

Sophie Kaleba 1 Clément Bera 1 Alexandre Bergel 2 Stéphane Ducasse 1
1 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189
Abstract : Code profiling enables a user to know where in an application or function the execution time is spent. The Pharo ecosystem offers several code profilers. However, most of the publicly available profilers (MessageTally, Spy, GadgetPro-filer) largely ignore the activity carried out by the virtual machine , thus incurring inaccuracy in the gathered information and missing important information, such as the Just-in-time compiler activity. This paper describes the motivations and the latest improvements carried out in VMProfiler, a code execution pro-filer hooked into the virtual machine, that performs its analysis by monitoring the virtual machine execution. These improvements address some limitations related to assessing the activity of native functions (resulting from a Just-in-time compiler operation): as of now, VMProfiler provides more detailed profiling reports, showing for native code functions in which bytecode range the execution time is spent.
Document type :
Conference papers
Complete list of metadata

Cited literature [17 references]  Display  Hide  Download
Contributor : Sophie Kaleba Connect in order to contact the contributor
Submitted on : Monday, September 11, 2017 - 10:11:36 PM
Last modification on : Friday, January 7, 2022 - 3:44:01 AM


Files produced by the author(s)


  • HAL Id : hal-01585754, version 1


Sophie Kaleba, Clément Bera, Alexandre Bergel, Stéphane Ducasse. A detailed VM profiler for the Cog VM. International Workshop on Smalltalk Technology IWST'17, Sep 2017, Maribor, Slovenia. ⟨hal-01585754⟩



Les métriques sont temporairement indisponibles