Тёмный

JEP Explained. JEP 471: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal 

IntelliJ IDEA, a JetBrains IDE
Подписаться 116 тыс.
Просмотров 549
50% 1

Find out what’s new in Java 23 and why you should care about it with “JEP Explained”.
“JEP Explained” is a series of interviews with Java leaders and experts that are closely involved with creating the new Java features, and the ones that can help you to use them.
More “JEP Explained” episodes: jb.gg/JEPExpla...
This episode of JEP Explained focuses on JEP 471 (openjdk.org/je..., which covers deprecating the memory-access methods in the sun.misc.Unsafe class.
In this episode, Mala Gupta, Developer Advocate with JetBrains, interviewed Ron Pressler, Owner and one of the authors of JEP 471. He is also Technical lead of OpenJDK’s Project Loom.
Ron started by answering questions on deprecation in general - the reasons why types, methods, or variables are marked for deprecation, how they are identified, and how long they are marked for deprecation until they are finally removed.
Ron then went on to talk about the target audience for this JEP, which is relevant and important for all Java developers, not just library and framework developers. Ron talked about the replacement for the methods marked for depreciation in Unsafe, i.e. the VarHandle API (Java 9) and Foreign Function & Memory API (Java 22).
Ron also covered “integrity by default” (openjdk.org/je..., stating that this JEP (471) is part of this bigger idea. It is an interesting read that talks about how the Java language architect believes in preserving the integrity of Java, and how it would help both the developers and Java.
Finally, Ron discussed the roadmap of deprecating these methods - what happens next, how to provide feedback to the Oracle team on your experience of using this feature (or should I say not using it and using alternatives instead). 🙂
Don’t miss the fun segments at the end, where Ron tries his luck with tongue twisters, and the part when he responds to statements by enacting emojis.
Happy watching!
#java #java23 #intellijidea #JEPExplained
Join us:
Website: jb.gg/website
Blog: jb.gg/blog
Twitter: / intellijidea
Facebook: / intellijidea
Download IntelliJ IDEA: jb.gg/download...
Top 15 IntelliJ IDEA shortcuts: jb.gg/Top15Int...

Опубликовано:

 

19 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1   
@VerhoevenSimon
@VerhoevenSimon День назад
Thank you for the interesting episode.