ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Virtual Threads in JDK-24: The Synchronized Block Breakthrough Explained

Автор: Dan Vega

Загружено: 2025-04-08

Просмотров: 7825

Описание: 🚀 Java just got DRAMATICALLY faster with JDK-24's virtual thread improvement! Watch as I demonstrate a real-world application going from 32 seconds to just 0.5 seconds with a simple JDK upgrade.

In this video, I explain one of the most significant improvements in JDK-24: enhanced virtual threads that can now use synchronized methods and blocks without pinning to carrier threads. This seemingly small change has enormous implications for application performance and scalability, especially for code using legacy synchronization.

What you'll learn:
✅ The synchronized keyword in Java and how it works under the hood
✅ The virtual thread pinning problem that limited JDK-21's performance
✅ A clear restaurant analogy that explains the concept in simple terms
✅ Practical demonstrations showing 70x performance improvement
✅ How to enable virtual threads in Spring Boot applications
✅ Real benchmarks showing a Spring app going from 21 seconds to 2.3 seconds

If you're building web applications with high throughput that perform blocking operations like database writes or service calls, virtual threads should definitely be on your radar. This JDK-24 improvement removes one of the biggest barriers to adoption.

Code examples used in this video
Java: https://github.com/danvega/pinning
Spring: https://github.com/danvega/jdk-24-thr...

Chapters:
00:00 Introduction
01:15 Understanding the synchronized keyword
03:20 The virtual thread pinning problem
05:10 The restaurant analogy
07:25 Java example demonstration
10:45 Spring Boot example setup
13:30 Benchmark results
15:20 Why this matters for your applications
16:45 Conclusion

Are you using virtual threads already? Was the pinning issue stopping you from adopting them in JDK-21? Let me know in the comments if you plan to upgrade to JDK-24!

#Java #JDK24 #VirtualThreads #SpringBoot #JavaPerformance #Programming

👋🏻Connect with me:
Website: https://www.danvega.dev
Twitter:   / therealdanvega  
Github: https://github.com/danvega
LinkedIn:   / danvega  
Newsletter: https://www.danvega.dev/newsletter

SUBSCRIBE TO MY CHANNEL: http://bit.ly/2re4GH0 ❤️

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Virtual Threads in JDK-24: The Synchronized Block Breakthrough Explained

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

How to Level Up Your Java Streams with JDK 24's New Gatherers Feature (Practical Tutorial)

How to Level Up Your Java Streams with JDK 24's New Gatherers Feature (Practical Tutorial)

Spring Data JPA Query By Example: Write 10x Less Code for Dynamic Searches

Spring Data JPA Query By Example: Write 10x Less Code for Dynamic Searches

Полный гайд: Разработка REST API | Модель Ричардсона | Ошибки и советы | Node.js & Golang

Полный гайд: Разработка REST API | Модель Ричардсона | Ошибки и советы | Node.js & Golang

Самая холодная деревня в мире (Это видео стоило мне здоровья) -71°C

Самая холодная деревня в мире (Это видео стоило мне здоровья) -71°C

Java Virtual Threads - Reactive Programming Killer?

Java Virtual Threads - Reactive Programming Killer?

System Design was HARD until I Learned these 30 Concepts

System Design was HARD until I Learned these 30 Concepts

The Story of Concurrent Rendering in React

The Story of Concurrent Rendering in React

AI for Java Developers: Full Course / Workshop on Getting Started with Spring AI

AI for Java Developers: Full Course / Workshop on Getting Started with Spring AI

Koin Annotations In Compose Multiplatform - Beginner's Guide to Compile-Time Dependency Injection

Koin Annotations In Compose Multiplatform - Beginner's Guide to Compile-Time Dependency Injection

Бэкапы, файлы и прочее

Бэкапы, файлы и прочее

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]