Back to overview

tgp: A Task-Granularity Profiler for the Java Virtual Machine

Type of publication Peer-reviewed
Publikationsform Proceedings (peer-reviewed)
Author Rosales Eduardo, Rosà Andrea, Binder Walter,
Project Fundamentals of Parallel Programming for Platform-as-a-Service Clouds
Show all

Proceedings (peer-reviewed)

Title of proceedings 2017 24th Asia-Pacific Software Engineering Conference (APSEC)
Place Nanjing
DOI 10.1109/apsec.2017.67


The analysis of task granularity in parallel applications (i.e., the amount of work to be performed by parallel tasks) is essential to unveil performance problems and to optimize task-parallel applications. Too small task granularities may result in high parallelization overheads, while too large task granularities may indicate missed parallelization opportunities. Despite the importance of task granularity, this metric is not considered by existing profilers for parallel applications on the Java Virtual Machine (JVM). In this paper we present tgp, a novel task-granularity profiler for multi-threaded applications on the JVM. tgp collects bytecode- and hardware-level metrics to characterize task granularity, assisting the developer in diagnosing and locating parallelization shortcomings.