Tagged articles
6 articles
Page 1 of 1
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.

ScopedValueStructuredTaskScopeThreadLocal
0 likes · 22 min read
Understanding ThreadLocal, ScopedValue, and StructuredTaskScope in Java
Java Architecture Diary
Java Architecture Diary
Jun 16, 2023 · Backend Development

Unlock Faster Java: Oracle GraalVM Native Image’s Startup, Memory, and Throughput Gains

Oracle GraalVM’s new release for JDK 17 and JDK 20 adds free‑to‑use native‑image features—including profile‑guided optimizations, G1 GC, object‑header compression, ML‑driven PGO, and SBOM support—delivering up to 46% faster startup, 2‑3× lower memory usage, and up to 1.6× higher peak throughput compared with traditional JIT, while also introducing new tooling such as native‑image bundles, build reports, enhanced AWT support, and experimental monitoring.

Java performanceProfile Guided Optimizationgraalvm
0 likes · 18 min read
Unlock Faster Java: Oracle GraalVM Native Image’s Startup, Memory, and Throughput Gains
Java Architect Essentials
Java Architect Essentials
May 3, 2023 · Backend Development

JDK 20 Release Highlights: New Features and Improvements

JDK 20, a short‑term support release of Java, introduces seven JEPs—including Scoped Values, Record Patterns, Virtual Threads, Structured Concurrency, and the Vector API—along with numerous enhancements and bug fixes, while remaining production‑ready and paving the way for the upcoming JDK 21 LTS.

Scoped ValuesVirtual Threadsbackend-development
0 likes · 5 min read
JDK 20 Release Highlights: New Features and Improvements
Java Backend Technology
Java Backend Technology
Apr 10, 2023 · Information Security

What New Security Features Does JDK 20 Offer? Encryption, TLS, and JFR Highlights

JDK 20, released in March 2023, introduces a suite of security enhancements—including new exception constructors, expanded algorithm service attributes, stricter defaults for DTLS 1.0 and ECDH suites, performance‑boosting intrinsics for ChaCha20, Poly1305, MD5 and ECC, as well as new Java Flight Recorder events for tracking security properties—providing developers with stronger defaults and better observability.

JFRJava SecurityTLS
0 likes · 8 min read
What New Security Features Does JDK 20 Offer? Encryption, TLS, and JFR Highlights
Programmer DD
Programmer DD
Nov 14, 2022 · Fundamentals

What’s New in Java: JDK 20, Loom Updates, and Upcoming JEPs

This roundup covers the latest Java developments, including JEP 434’s move to candidate status, second‑preview updates for virtual threads and structured concurrency, the JDK 20 release schedule, and new releases across Spring, GraalVM, Open Liberty, Vert.x, TomEE, JReleaser, Hibernate, PrimeFaces, JDKMon, and EclipseCon.

JEPLoomOpenJDK
0 likes · 11 min read
What’s New in Java: JDK 20, Loom Updates, and Upcoming JEPs