tubeshowcase●1,677,570 videos♡ My collection 0
← Learn to Code

Learn to Code56:02

Dynamic Constants: Oxymoron or Promising JVM Feature? • Evgeny Mandrikov • GOTO 2023

GOTO Conferences ↗

From the creator

This presentation was recorded at GOTO Copenhagen 2023. #GOTOcon #gotocph https://gotocph.com Evgeny Mandrikov - Software Gardener, Language Team Technical Leader at SonarSource @EvgenyMandrikov RESOURCES https://twitter.com/_Godin_ https://www.linkedin.com/in/mandrikov https://github.com/Godin https://sessionize.com/godin https://openjdk.org/jeps/8209964 ABSTRACT New JVM features now arrive with each JDK release. If you are interested to learn and try these new features and wanna know-how in case of problems investigate and report JVM crashes, then come to listen about its new feature introduced in Java 11 - Constant Dynamic. During this talk, we'll see what actually means dynamic constant and why it is such a powerful addition to JVM. We'll also see how little holes in implementation were causing JVM crashes in OpenJ9 and OpenJDK 11-14, and how by developing JaCoCo we find and report such bugs - you also can! [...] TIMECODES 00:00 Intro 01:15 JaCoCo (Java Code Coverage) 02:45 Real disclaimer 03:41 invokedynamic aka INDY 06:59 Java 11: Dynamic class-file constants 08:25 Original class 09:03 Instrumented class 13:24 Demo 36:25 Non-capturing lambdas 38:36 Enum constants 42:07 Enum switch 49:49 Good singleton factory 51:29 Lazy static final fields 52:04 There is more 52:32 Takeaways 55:41 Outro Read the full abstract here: https://gotocph.com/2023/sessions/2833 RECOMMENDED BOOKS Kevlin Henney & Trisha Gee • 97 Things Every Java Programmer Should Know • https://amzn.to/

Published 2024-04-03 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code