Главная
Study mode:
on
1
Intro
2
JaCoCo Java Code Coverage
3
Real disclaimer
4
invokedynamic aka INDY
5
Java 11: Dynamic class-file constants
6
Original class
7
Instrumented class
8
Demo
9
Non-capturing lambdas
10
Enum constants
11
Enum switch
12
Good singleton factory
13
Lazy static final fields
14
There is more
15
Takeaways
16
Outro
Description:
Explore the concept of Dynamic Constants in Java and their impact on JVM features in this 56-minute conference talk from GOTO Copenhagen 2023. Delve into the power of this Java 11 addition as Evgeny Mandrikov, Software Gardener and Language Team Technical Leader at SonarSource, guides you through its implementation and potential pitfalls. Learn about JVM crashes in OpenJ9 and OpenJDK 11-14, and discover how to investigate and report such issues using JaCoCo. Gain insights into invokedynamic, class-file constants, non-capturing lambdas, enum constants and switches, singleton factories, and lazy static final fields. Walk through live demonstrations and code examples to deepen your understanding of these advanced Java concepts and their practical applications in software development.

Dynamic Constants in Java: Oxymoron or Promising JVM Feature - Lecture

GOTO Conferences
Add to list