<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Virtual Threads on JAVAPRO International</title><link>https://javapro-en.svenruppert.com/tags/virtual-threads/</link><description>Recent content in Virtual Threads on JAVAPRO International</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 02 Jun 2026 07:00:00 +0000</lastBuildDate><atom:link href="https://javapro-en.svenruppert.com/tags/virtual-threads/index.xml" rel="self" type="application/rss+xml"/><item><title>Virtual Threads Meet AI: Java Concurrency in the Age of Intelligent Systems</title><link>https://javapro-en.svenruppert.com/virtual-threads-meet-ai-java-concurrency-in-the-age-of-intelligent-systems/</link><pubDate>Tue, 02 Jun 2026 07:00:00 +0000</pubDate><guid>https://javapro-en.svenruppert.com/virtual-threads-meet-ai-java-concurrency-in-the-age-of-intelligent-systems/</guid><description>&lt;p&gt;AI workloads change how Java applications scale and behave. This article explains how Java 26 and virtual threads simplify concurrency in AI-heavy systems, replacing complex reactive setups with clearer and more efficient designs. It shows when virtual threads outperform traditional async models and how concurrency choices impact system architecture.&lt;/p&gt;
&lt;h2 id="introduction-java-ai-and-the-new-concurrency"&gt;Introduction: Java, AI, and the New Concurrency&lt;/h2&gt;
&lt;p&gt;The rapid growth of AI-driven systems is reshaping how we design and scale Java APIs. RAG systems, LLM inference, and recommendation pipelines bring thousands of simultaneous requests with heavy network I/O, vector databases, and external services.&lt;/p&gt;</description></item><item><title>Java 25: Getting the Most Out of Virtual Threads with Structured Task Scopes and Scoped Values</title><link>https://javapro-en.svenruppert.com/java-25-getting-the-most-out-of-virtual-threads-with-structured-task-scopes-and-scoped-values/</link><pubDate>Tue, 23 Dec 2025 07:00:01 +0000</pubDate><guid>https://javapro-en.svenruppert.com/java-25-getting-the-most-out-of-virtual-threads-with-structured-task-scopes-and-scoped-values/</guid><description>&lt;p&gt;With Java 21, the Java platform completely reinvented how threads work by introducing &lt;em&gt;virtual threads&lt;/em&gt; alongside traditional &lt;em&gt;platform threads&lt;/em&gt;.&lt;br&gt;
Virtual threads let us create millions of concurrent tasks without worrying about creation time or memory usage. This makes it possible to handle vastly more requests than before, but it doesn’t solve every problem that once led developers to reactive programming.&lt;/p&gt;
&lt;p&gt;In this article, we’ll explore how &lt;em&gt;StructuredTaskScope&lt;/em&gt; and &lt;em&gt;ScopedValue&lt;/em&gt;, two powerful features that complement virtual threads, help us write safer, faster, and more maintainable concurrent code.&lt;/p&gt;</description></item><item><title>Java 24: A Story of Code, Conflict, and Conquer</title><link>https://javapro-en.svenruppert.com/java-24-a-story-of-code-conflict-and-conquer/</link><pubDate>Wed, 27 Aug 2025 07:00:03 +0000</pubDate><guid>https://javapro-en.svenruppert.com/java-24-a-story-of-code-conflict-and-conquer/</guid><description>&lt;p&gt;In a digital world far away from here, runs a Java application without problems. The logs are quiet, the servers are stable, and Emma and her team live in peace. But then, the first attack arrives! First innocent. A little spike in the memory use. But than another, and another. Within a couple of days, it turns into a disaster. Garbage collectors are going wild. The latency rises. The servers are shaking. The memory realm is flooded by invisible enemies: unnecessarily inflated object headers. They hide in every object, wasting valuable bytes and creating chaos in the heap.&lt;/p&gt;</description></item><item><title>More Action, More Overview</title><link>https://javapro-en.svenruppert.com/more-action-more-overview/</link><pubDate>Tue, 22 Jul 2025 07:00:01 +0000</pubDate><guid>https://javapro-en.svenruppert.com/more-action-more-overview/</guid><description>Java applications have to contend with various concurrency problems. There is a solution here with new constructs.</description></item><item><title>Modern Java</title><link>https://javapro-en.svenruppert.com/modern-java/</link><pubDate>Tue, 17 Jun 2025 07:00:02 +0000</pubDate><guid>https://javapro-en.svenruppert.com/modern-java/</guid><description>&lt;p&gt;With Java&amp;rsquo;s adoption of a six-month release cycle, new features are being introduced to the language rapidly. This article will explore the latest enhancements from Java versions 21 to 24. Our focus will be on language-specific changes, excluding updates to the JVM. Additionally, we will not cover the Foreign Functions and Memory API, which serves as a modern and safer alternative to JNI.&lt;/p&gt;
&lt;p&gt;I would categorize the changes made to the language into three groups:&lt;/p&gt;</description></item></channel></rss>