InTowards DevbyCodeTalks·Oct 12🚨 Your Spring Boot App Has a Hidden Memory Leak — ThreadLocal Might Be the ReasonYour Spring Boot application starts normally.
Ahmet Temel Kundupoglu·Oct 5Java 25 Scoped Values: The Safer Alternative to ThreadLocal for Virtual ThreadsRequest context without manual cleanup, accidental mutation, or stale data on reused threads
Orkhan Ibrahim·Sep 25The Previous OccupantA workflow service sent a different user ID every time it scored the same applicant. Nobody had two accounts. The ID belonged to whoever…
Cem Dırman·Sep 13Scoped Values in Java 25: Retiring ThreadLocal in Your Spring Boot Request ContextIf you have ever carried a tenant ID, a correlation ID, or the current user through a Spring Boot request without threading it through…
Akshathaholla·Jul 30Scoped Values in JDK 25 — A Better Way to Share Data Across ThreadsJDK 25 finalizes Scoped Values (JEP 506), a feature that has been previewed and refined across five consecutive JDK releases — from…
Aman Singh Rawat·Jul 25ThreadLocal in Java: The Hidden Power Behind Thread-Safe Context“One of the most misunderstood classes in Java is ThreadLocal. Many developers either avoid it completely or misuse it. But when used…
Martin·Jul 11The Java feature that makes ThreadLocal look like a mistakeThreadLocal used to feel like a clever shortcut.
anapiashko·Jun 16From ThreadLocal to ScopedValue: Context Management in Java 25ThreadLocal has long been Java’s solution for contextual data. Explore how ScopedValue in Java 25 offers a safer and more modern approach.
InYapı Kredi TeknolojibyBurak Kent·May 20ThreadLocal Deep Dive: Internals, Pitfalls, and Best PracticesIn this article, we will go beyond just defining ThreadLocal. We will explore how it works internally, how it is used in Spring, and most…
Martin·Apr 6We Replaced ThreadLocal with Scoped Values in Java 26 — Then Our Memory Leaks VanishedMy pager went off at 3 AM last Tuesday.A response icon9A response icon9