Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome, Safari or Firefox browser.

Renaissance

for Optimizing Compilers


Aleksandar Prokopec Andrea Rosà, David Leopoldseder, Gilles Duboscq, Petr Tůma, Martin Studener, Lubomír Bulej, Yudi Zheng, Alex Villazón, Doug Simon, Thomas Würthinger, Walter Binder

Motivation

JVM Is Evolving

Selection methodology

Goals





Goals



Gathered around 100 workloads, and used them to select 21 benchmarks.

Analysis

Metrics


PCA


Normalization over reference cycles.

Standardization to a [-1, 1] range.

Principal component analysis.

PCA: Components 1&2


PCA: Components 1&2


PCA: Components 3&4


PCA: Components 3&4


Atomic Operation Count


Invokedynamic Count


Synchronized Count


Are these differences relevant for performance?

Compiler optimizations

Escape Analysis with Atomics


Atomic reference objects, futures.

Escape Analysis with Atomics




Escape Analysis with Atomics



Loop-Wide Lock Coarsening




Synchronized collections.

Loop-Wide Lock Coarsening



Method-handle simplification



JDK8 Streams, Rx.

Method-handle simplification



MethodHandle reflection necessary.

Method-handle simplification



MethodHandle reflection necessary.

Method-handle simplification



Profile of the Scrabble benchmark.

Speculative Guard Motion




Speculative Guard Motion




Optimization Matrix

Graal vs C2 Differences

Code Complexity

Complexity Metrics


We computed the average and sum of all Chidamber & Kemerer metrics, and recorded minimum, maximum and average across benchmarks.


Conclusion: similar averages across suites (details in the paper).


Loaded Classes




Open challenges

Inlining concurrent code

Inlining concurrent code

Inlining concurrent code

Inlining concurrent code

Inlining concurrent code

Inlining concurrent code

Memory layout specialization

Memory layout specialization

Memory layout specialization

Memory layout specialization

Memory layout specialization

Process


renaissance.dev

Open-Source Process





Open-Source Process



Goal: keep improving and evolving the suite in an open manner.

Thank you!

Use a spacebar or arrow keys to navigate