A detailed VM profiler for the Cog VM - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2017

A detailed VM profiler for the Cog VM

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.
Fichier principal
Vignette du fichier
main.pdf (272.48 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01585754 , version 1 (11-09-2017)

Identifiers

  • HAL Id : hal-01585754 , version 1

Cite

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⟩
335 View
361 Download

Share

Gmail Facebook X LinkedIn More