P 3 : A Profiler Suite for Parallel Applications on the Java Virtual Machine.

2020 
We present \(\mathsf{P}^{3}\), a new profiler suite for parallel applications on the Java Virtual Machine. \(\mathsf{P}^{3}\) specifically targets metrics related to parallelism, concurrency, and synchronization. In particular, \(\mathsf{P}^{3}\) profiles the use of concurrent entities (e.g., threads, tasks, actors, futures), constructs and classes to implement synchronization (including locks, thread parking, and the synchronizers from the java.util.concurrent package), lock-free operations (such as atomic and volatile memory accesses), as well as synchronized and concurrent collections. To the best of our knowledge, our suite is the first tool detecting the use of volatile memory accesses, futures, synchronizers, and utility classes commonly used in concurrent programming. Moreover, \(\mathsf{P}^{3}\) incurs only moderate profiling overhead. \(\mathsf{P}^{3}\) can be readily applied to popular benchmark suites and to public code repositories, facilitating new analyses in the wild. We describe the design and implementation of \(\mathsf{P}^{3}\) and discuss how our tool was fundamental in the selection of workloads composing the Renaissance benchmark suite. Moreover, we use \(\mathsf{P}^{3}\) to analyze the variability of different metrics for multiple iterations of the Renaissance benchmarks.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    19
    References
    0
    Citations
    NaN
    KQI
    []