У нас вы можете посмотреть бесплатно A Sneak Peek at StableValue and SegmentMapper in Java или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
This video demystifies the work that is going on in two different efforts to make Java even better: StableValues and SegmentMapper . Some internal JDK classes are relying heavily on the annotation `jdk.internal.vm.annotation.@Stable` to mark scalar and array fields whose values or elements will change * at most once * , thereby providing crucial performance, energy efficiency, and flexibility benefits. But the powerful @Stable annotation cannot be used directly in Java applications thereby severely restricting its applicability. The StableValue rectifies this imbalance between internal and client code by providing safe wrappers around the `@Stable` annotation. Hence, all the important benefits of `@Stable` are now made available to regular Java developers and third-party library developers. The Foreign Function & Memory API (the FFM API), introduced in Java 22, provides access to structured memory. Sadly, only access to primitive values like `int` and `long` were available. SegmentMapper fixes this shortcoming and allows structured memory to be mapped to standard Java composites like `record` classes, thereby significantly improving the versatility of the FFM API. Presented by Per-Ake Minborg - Consulting Member of Technical Staff (Java Platform Group - Oracle) during Devoxx Belgium 2024 ➤ https://devoxx.be JEP draft: Stable Values (Preview) ➱ https://openjdk.org/jeps/8312611 And More... ➱ • Java Performance Update with Per-Ake Minbo... Tags: #Java #OpenJDK #Panama