16th - 17th March 2017
Cineplexx Wienerberg, Wienerbergstraße, Vienna, Austria
Back To Schedule
Friday, March 17 • 10:10 - 11:00
Java performance techniques. The cost of HotSpot runtime optimizations.

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
The talk reveals how HotSpot internally handles some performance optimizations (e.g. static, speculative and inter-procedural) which sometimes can bring Java code to run faster than similar C/C++ code. It will also cover the penalty of code deoptimizations (e.g. uncommon traps), which brings back the running thread into the Interpreter. The take away for the audience would be a better understanding about why these optimizations matter, as well as things which might optimize the code but in reality backfire.
Core topics of the agenda: - Uncommon traps - Null Sanity Checks - Loop unrolling - String deduplication - Devirtualization - Inter-procedural optimizations (e.g. inlining) - Brench predictions - Concurrency implications (e.g. memory access optimization, biased locking and the cost of Stop-The-World pause) - Methods that do not JIT
The tools used to prepare the talk and reveal these optimizations are: JITWatch, JMH (Java Measurement Harness) and HPjmeter.

avatar for Ionut Balosin

Ionut Balosin

My name is Ionut Balosin, am I a Software Architect with 10+ years of experience in a wide variety of business applications. Currently employed by Luxoft Co. I am particularly interested in Performance & Tunin,g topics and Software Architecture. Regular speaker at external conferences... Read More →

Friday March 17, 2017 10:10 - 11:00 CET
Room 7