Discover and read the best of Twitter Threads about #javatuesdaythread

Most recents (3)

#JavaTuesdayThread
I’ve been patiently waiting for JEP 429 publishing with my fingers crossed for quite a while since JEP 425 appeared in a public space (although my story with Project Loom is longer than you can imagine). So, today’s topic is - extent-local variables. #Java
When we started talking about virtual threads the question we've been asked is whether virtual threads are like the old ones. The answer was YES, however, some techniques used to organize the data flow around platform threads may not be valid (but working) for virtual threads.
By saying “some” we’re mostly pointing to thread locals. As you you know, it’s possible to start over 10M threads for nothing while it’s not the same for platform threads because the JVM, like the other processes, has a thread count limitation it cannot surpass.
Read 24 tweets
#JavaTuesdayThread

Today I’d like to speak a bit regarding #Java Flight Recorder (JFR) and how far you can get with it. #OpenJDK #JFR #JMC
So, as you may know, a few releases ago, Java developers were able to create, publish, and react to particular JDK events, also known as JFR.
The first and most important JFR feature is that the whole JDK is pierced with tons of JFR events. You can enable them to get most of the information about what’s going on with the JVM.
Read 13 tweets
It's time for #JavaTuesdayThread!

You know that JDK 19 will be released in 2 months on Sept. 20th. It will bring some major changes to the JDK. Project #Loom is one of those HUGE changes I want to talk about a little bit more. #Java #OpenJDK
JEP 425 introduces Virtual Threads. The most interesting thing is that the JDK was reworked to make it possible to block both platform and virtual threads in different ways.
While thread blocking methods will put on pause the whole platform thread, the virtual thread blocking wouldn't block its underlying carrier thread so it can pick up the segment of another virtual thread to execute.
Read 15 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!