Skip to Main content Skip to Navigation
New interface
Conference papers

Continuously Measuring Critical Section Pressure with the Free-Lunch Profiler

Florian David 1 Gaël Thomas 1 Julia Lawall 1 Gilles Muller 1 
1 Whisper - Well Honed Infrastructure Software for Programming Environments and Runtimes
LIP6 - Laboratoire d'Informatique de Paris 6, Inria Paris-Rocquencourt
Abstract : Today, Java is regularly used to implement large multi-threaded server-class applications that use locks to protect access to shared data. However, understanding the impact of locks on the performance of a system is complex, and thus the use of locks can impede the progress of threads on con-figurations that were not anticipated by the developer, during specific phases of the execution. In this paper, we propose Free Lunch, a new lock profiler for Java application servers, specifically designed to identify, in-vivo, phases where the progress of the threads is impeded by a lock. Free Lunch is designed around a new metric, critical section pressure (CSP), which directly correlates the progress of the threads to each of the locks. Using Free Lunch, we have identified phases of high CSP, which were hidden with other lock pro-filers, in the distributed Cassandra NoSQL database and in several applications from the DaCapo 9.12, the SPECjvm-2008 and the SPECjbb2005 benchmark suites. Our evaluation of Free Lunch shows that its overhead is never greater than 6%, making it suitable for in-vivo use.
Document type :
Conference papers
Complete list of metadata

Cited literature [32 references]  Display  Hide  Download
Contributor : Gilles Muller Connect in order to contact the contributor
Submitted on : Tuesday, November 4, 2014 - 7:43:55 PM
Last modification on : Friday, January 21, 2022 - 3:21:29 AM
Long-term archiving on: : Friday, April 14, 2017 - 1:52:16 PM


Files produced by the author(s)



Florian David, Gaël Thomas, Julia Lawall, Gilles Muller. Continuously Measuring Critical Section Pressure with the Free-Lunch Profiler. OOPSLA '14 - ACM International Conference on Object Oriented Programming Systems Languages & Applications, Oct 2014, Portland, Oregon, United States. pp.291-307, ⟨10.1145/2660193.2660210⟩. ⟨hal-01080277⟩



Record views


Files downloads