Heinz Kabutz, John Green — Thread Safety with Phaser, StampedLock and VarHandle
Ближайшая конференция — Joker 2024, 9 октября (Online), 15–16 октября (Санкт-Петербург + трансляция).
Подробности и билеты: https://jrg.su/Ypf1HW
— —
. . . Every major Java version introduces a new and better way of managing state. Java 7 gave us Phaser as a replacement for CountDownLatch and CyclicBarrier. Hardly any programmers know how it works, even though we are now on Java 11 LTS. Java 8 gave us StampedLock, useful as a lighter read "lock" when building concurrent classes. Again, not very widely known, but lots of use cases. Java 9/10/11 introduced VarHandle as an escape latch for the Unsafe addicts. In this talk, Heinz and John will show all three concepts and explain when each should be used.
Видео Heinz Kabutz, John Green — Thread Safety with Phaser, StampedLock and VarHandle канала JPoint, Joker и JUG ru
Подробности и билеты: https://jrg.su/Ypf1HW
— —
. . . Every major Java version introduces a new and better way of managing state. Java 7 gave us Phaser as a replacement for CountDownLatch and CyclicBarrier. Hardly any programmers know how it works, even though we are now on Java 11 LTS. Java 8 gave us StampedLock, useful as a lighter read "lock" when building concurrent classes. Again, not very widely known, but lots of use cases. Java 9/10/11 introduced VarHandle as an escape latch for the Unsafe addicts. In this talk, Heinz and John will show all three concepts and explain when each should be used.
Видео Heinz Kabutz, John Green — Thread Safety with Phaser, StampedLock and VarHandle канала JPoint, Joker и JUG ru
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Mark West — Building a Smart Security Camera with Raspberry Pi Zero, Java and AWSCay Horstmann — Feature evolution in Java 13 and beyondInterview and Q&A with Ted NewardCharles Nutter — Going Native: Foreign Functions on the JVMSimon Ritter — Getting the most from modern JavaAndres Almiray — JReleaser — releasing at the speed of lightThomas Wuerthinger, Oleg Šelajev — Workshop: GraalVM (part 1)Дмитрий Бундин — Повышаем производительность файлового I/O для JVM на LinuxЧто такое JokerАлексей Рагозин — Как и зачем эмулировать распределённый кластер в JVMJiří Holuša — Intel Optane DC and Java: Lessons learned in practiceShelley Lambert — Dismantling technical debt and hubrisTobi Ajila — The Eclipse OpenJ9 JVM a deep dive!Григорий Кошелев — Интеграция виртуальных машин NET и JavaГригорий Кошелев — Когда всё пошло по Кафке 2: Разгоняем продьюсеровАлександр Христофоров — Дешевле, надёжнее, проще: хранение петабайтов видео и фото в ОдноклассникахЛеонид Старцев — Как эволюционировать свою библиотеку на Kotlin безболезненно для клиентовGeoffrey De Smet — AI maintenance scheduling with OptaPlanner on QuarkusНикита Поваров, Роман Поборчий — Самопишущийся кодSteve Poole — Practical steps for creating safer software (Code included)Volker Simonis — Birth, life and death of a class