Skip to Main content Skip to Navigation
Conference papers

Profiling Code Cache Behaviour via Events

Abstract : Virtual machine performance tuning for a given application is an arduous and challenging task. For example, parametrizing the behaviour of the JIT compiler machine code caches affects the overall performance of applications while being rather obscure for final users not knowledgeable about VM internals. Moreover, VM components are often heavily coupled and changes in some parameters may affect several seemingly unrelated components and may have unclear performance impacts. Therefore, choosing the best parametrization requires to have precise information. In this paper, we present Vicoca, a tool that allows VM users and developers to obtain detailed information about the behaviour of the code caches and their interactions with other virtual machine components. We present a complex optimization problem due to the heavy interaction of components in the Pharo VM, and we explain it using Vicoca. The information produced by the tool allows developers to produce an optimized configuration for the VM. Vicoca is based on event recording that are manipulated during offline analysis. Vicoca not only allows us to understand this given problem, but it opens the door to future work such as automatic detection of application characteristics, identification of performance issues, and automatic hinting. CCS Concepts: • Software and its engineering → Runtime environments.
Document type :
Conference papers
Complete list of metadata
Contributor : Lse Lse Connect in order to contact the contributor
Submitted on : Friday, September 3, 2021 - 1:46:11 PM
Last modification on : Thursday, March 24, 2022 - 3:42:47 AM
Long-term archiving on: : Saturday, December 4, 2021 - 6:05:32 PM


Files produced by the author(s)



Pablo Tesone, Guillermo Polito, Stéphane Ducasse. Profiling Code Cache Behaviour via Events. MPLR ’21, Sep 2021, Münster, Germany. ⟨10.1145/3475738.3480720⟩. ⟨hal-03332040⟩



Record views


Files downloads