Тёмный

The Challenges of Introducing Virtual Threads to the Java Platform - Project Loom  

Java
Подписаться 179 тыс.
Просмотров 15 тыс.
50% 1

Presented by Alan Bateman - Architect (Java Platform Group - Oracle) during the JVM Language Summit 2023 (Santa Clara CA).
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ JEP 444: Virtual Threads ➱ openjdk.org/jeps/444
◦ JEP 453: Structured Concurrency (Preview) ➱ openjdk.org/jeps/453
◦ JEP 446: Scoped Values (Preview) ➱ openjdk.org/jeps/446
◦ Repository (several branches) ➱ github.com/openjdk/loom
◦ Mailing list ➱ mail.openjdk.org/pipermail/lo...
◦ More information on Panama ➱ inside.java/tag/loom
Make sure to check the • JVM Language Summit 2023 playlist.
Tags: #ProjectLoom #Java #JVMLS #OpenJDK

Наука

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

 

27 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@deploydesexta
@deploydesexta 11 месяцев назад
Diving very deep in Virtual Threads! Tks a lot for the class!!
@MassamiBTsuneto
@MassamiBTsuneto 9 месяцев назад
O tech dos tech's!
@danielrehmann7295
@danielrehmann7295 11 месяцев назад
Hey Java Team, I actually got wondering after reading and hearing so many bad things about Thread Locals in combination with virtual thread, what you think about MDC logging. Having meta information in the logs is such a great help but moving them everywhere explicitly is such a pain. So the MDC was always a necessary evil I guess. Is there a suggested replacement in a virtual thread environment? Do we need to wait for scoped variables to get a performant replacement?
@--Nath--
@--Nath-- 11 месяцев назад
Yeah, I wondered the same thing.. although wouldn't the thread local stuff just be copied with the stack stuff on and off when it is swapped off being tied to a OS thread?
@hareepjoshi
@hareepjoshi 9 месяцев назад
In kotlin coroutines there's coroutines scope and that's where you keep the map. i suppose something like that will exist for vthreads.
@dleonardo3238
@dleonardo3238 9 месяцев назад
Can I use Loom for Android if I'm using Kotlin? Is there any advantage of using it over coroutines?
@afoo
@afoo 11 месяцев назад
not stable before 20, at least in my usage on server with vertx
@spreadkit
@spreadkit 11 месяцев назад
Damn, a pretty good video, pretty smart community, and you would think people would comment anything better than "Nth comment". What a shame... Eighth comment !!
@mohamed-gara
@mohamed-gara 9 месяцев назад
Virtual first comment 😂
@sergiocoder
@sergiocoder 2 месяца назад
Java tries so hard to stay relevant but this time I think you overdid it a little bit. VIrtual threads should have been made a separate API (maybe even not be called a "thread") not some wierd type of Thread so that everyone now has to deal with differentiating between the two. LIke he said, it breaks thread-locals and a couple of other things anyway. It's a leaky abstration now. Also: platform threads should have been called native or system threads IMO - nobody else calls them platform threads.
@shivamdeepgarg7323
@shivamdeepgarg7323 11 месяцев назад
Sixth Comment.
@aksh1618
@aksh1618 11 месяцев назад
Seventh comment.
@Mohamedrasvi
@Mohamedrasvi 11 месяцев назад
Fourth comment
@RajanSingh-yg7eb
@RajanSingh-yg7eb 11 месяцев назад
Third comment.
@noritakakagei9810
@noritakakagei9810 11 месяцев назад
Fifth comment.
@googleuser1195
@googleuser1195 11 месяцев назад
Second comment.
@dumdumdumdum8804
@dumdumdumdum8804 11 месяцев назад
First Comment.
Далее
A Classfile API for the JDK #JVMLS
51:48
Просмотров 14 тыс.
Java 21 new feature: Virtual Threads #RoadTo21
33:35
Просмотров 59 тыс.
Generational ZGC and Beyond #JVMLS
33:34
Просмотров 7 тыс.
Continuations - Under the Covers #JVMLS
34:07
Просмотров 11 тыс.
Java 21… and Beyond
48:30
Просмотров 23 тыс.
Value Objects in Valhalla #JVMLS
51:42
Просмотров 15 тыс.
GraalVM Native Image - Faster, Smarter, Leaner
46:12
Просмотров 13 тыс.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
APPLE дают это нам БЕСПЛАТНО!
1:01
Просмотров 771 тыс.
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
Просмотров 226 тыс.