Tag

VirtualThreads

0 views collected around this technical thread.

Architecture Digest
Architecture Digest
Sep 18, 2024 · Fundamentals

New Features in JDK 21: Virtual Threads, Sequenced Collections, String Templates, Record Patterns, and Switch Pattern Matching

The article introduces JDK 21’s latest long‑term‑support features—including virtual threads, sequenced collections, preview string templates, record patterns, and switch pattern matching—explaining their concepts, benefits, and providing concrete Java code examples for each.

JDK21JavaRecordPatterns
0 likes · 14 min read
New Features in JDK 21: Virtual Threads, Sequenced Collections, String Templates, Record Patterns, and Switch Pattern Matching
Code Ape Tech Column
Code Ape Tech Column
Nov 18, 2023 · Backend Development

Understanding ThreadLocal, ScopedValue, and StructuredTaskScope in Java

This article explains the ThreadLocal mechanism, its memory‑leak pitfalls, introduces the new ScopedValue feature in JDK 20 as a safer alternative, and demonstrates practical Spring and virtual‑thread examples using StructuredTaskScope for modern Java backend concurrency.

ConcurrencyJDK20Java
0 likes · 22 min read
Understanding ThreadLocal, ScopedValue, and StructuredTaskScope in Java
macrozheng
macrozheng
Sep 20, 2023 · Fundamentals

Why JDK 21’s Virtual Threads Could Revolutionize Java Concurrency

The article announces the official GA release of JDK 21, explains common version labels such as Alpha, Beta, RC and LTS, highlights the standout Virtual Threads feature requiring minimal code changes, and reviews the fifteen new JEPs across core libraries, language specifications, HotSpot and security enhancements.

JDK21JavaJavaFeatures
0 likes · 12 min read
Why JDK 21’s Virtual Threads Could Revolutionize Java Concurrency
DaTaobao Tech
DaTaobao Tech
Dec 30, 2022 · Backend Development

Practical Guide to Upgrading Java 8 to JDK 11 with G1 GC: Benefits, Steps, and New Features

The article provides a hands‑on migration guide for moving an internal gateway service from Java 8 to JDK 11 with the G1 garbage collector, detailing a checklist of tool and dependency updates, showcasing up to 105 % performance gains, outlining new language features, virtual‑thread usage, and best‑practice recommendations for a smooth, cost‑effective upgrade.

G1GCJDK11Java
0 likes · 32 min read
Practical Guide to Upgrading Java 8 to JDK 11 with G1 GC: Benefits, Steps, and New Features