Presentation: Applying Concurrency Cookbook Recipes to SPEC JBB

Track: Bare Knuckle Performance

Location: Windsor, 5th flr.

Duration: 1:40pm - 2:30pm

Day of week: Tuesday

Share this on:

Abstract

Our overarching goal was to understand, quantify and highlight the consequences of certain choices of fences when compiling Java constructs down to hardware platforms such as ARM, IBM Power or Intel x86. We used Doug Lea's cookbook as a compilation guide, and SPEC JBB as our reference benchmark. More precisely, we followed the recipes appearing in the cookbook and applied them to SPEC JBB. This talk reports our findings, both from a soundness and efficiency point of view. We hope that the attendees of this talk will benefit from:

  1. an introduction to relaxed memory consistency as implemented in Java, which in turn motivates the need for memory barriers in concurrent code;
  2. a presentation of our performance analysis methodology;
  3. a detailed report on the performance implications of memory barriers, specifically:
  • on the performance measurement front: we use Java Micro-benchmarking Harness (JMH) to understand and showcase these performance implications better;
  • on the performance analysis front: we look at profiling snippets to be able to highlight hot code;
  • on the performance study front: we examine the implications of the use of memory barriers on core and SMT scaling.

Speaker: Monica Beckwith

Java VM Performance Architect @Arm, previously led Oracle's G1GC Performance Team

Java Champion Monica Beckwith is a Java VM Performance Architect at Arm. Monica is a regular speaker at various conferences and has several published articles on topics including garbage collection, the Java memory model and others. She led Oracle's Garbage First Garbage Collector performance team, and was named a JavaOne Rock Star. Monica is passionate about STEM and loves volunteering her time in coaching kids in the field of (Java) programming and more recently, Lego Robotics.

Find Monica Beckwith at

Speaker: Jade Alglave

Lecturer @ucl

Similar Talks

Otherworldly Java: Gateway to the Moon and Beyond

Astrodynamicist and Principal Systems Engineer @NASA and USAF aerospace industry leader a.i. solutions

Diane Davis

Life Beyond Java 8

Java Champion, Engineer and Evangelist

Trisha Gee

OpenJ9 - Compelling Java for Cloud Workloads

Runtime Support/Change Team Architect (Java, Node.js, Apache Spark) at @IBM

Stephen Hellberg

Graal: Not Just a New JIT for the JVM

Working on TruffleRuby and Project Loom with Graal

Duncan MacGregor

Orchestrating Robot Swarms with Java

Technology Lead and Evangelist  @OcadoTechnology

Matthew Cornford

Why Continuations Are Coming to Java

Technical Lead for Project Loom @oracle

Ron Pressler

Tracks

The all-new QCon app!

Available on iOS and Android

The new QCon app helps you make the most of your conference experience. Easily browse and follow the conference schedule, star the talks you want to attend, and keep tabs on your personal itinerary. Download the app now for free on iOS and Android.