Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

A Sneak Peek at the Stable Values API

Java via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the upcoming StableValues API in this 46-minute conference talk that demystifies the internal JDK annotation `jdk.internal.vm.annotation.@Stable` and its transformation into a public API for Java developers. Discover how this powerful annotation, previously restricted to internal JDK classes, marks scalar and array fields whose values change at most once, delivering significant performance, energy efficiency, and flexibility benefits. Learn about the StableValue API's safe wrappers that bridge the gap between internal and client code, making the crucial benefits of `@Stable` accessible to regular Java developers and third-party library creators. Master the techniques for creating lazy Lists and Maps that perform with the same efficiency as constant values, following the principle "Codes like lazy initialization, performs like a constant." Gain insights into JEP 502 and understand how this API enhancement will impact Java application development and performance optimization strategies.

Syllabus

A Sneak Peek at the Stable Values API

Taught by

Java

Reviews

Start your review of A Sneak Peek at the Stable Values API

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.