Java performance techniques The cost of HotSpot runtime optimizations by Ionut Balosin

  Рет қаралды 3,021

Devoxx

Devoxx

Күн бұрын

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.
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 (e.g. Logeek, SoftLabs, Voxxed, BJUG, XP Days, Agile Tour)

Пікірлер: 2
@inelpandzic
@inelpandzic 4 жыл бұрын
Excellent presentation, thank you!
@domctube
@domctube 5 жыл бұрын
Awesome talk.
Java Performance Puzzlers by Douglas Hawkins
46:49
Devoxx
Рет қаралды 29 М.
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 12 МЛН
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,9 МЛН
TDD & DDD from the Ground Up Live Coding by Chris Simon
53:21
Troubleshooting Memory Problems in Java Applications
42:37
JVM ( java virtual machine) architecture - tutorial
29:16
Ranjith ramachandran
Рет қаралды 517 М.