Member-only story

Engineering With Java: Digest #42

Curated and Hand Picked Best Java and Spring Blogs.

Suraj Mishra
Javarevisited
6 min readJan 17, 2025

--

In this week’s collection, we have covered:

  • Java 24’s JEP 491 update improves scalability by allowing virtual threads to release platform threads,
  • While Spring Framework 6.2 and Spring Boot 3.4 enhance container management and security.
  • The Mark-Scavenge garbage collection algorithm reduces inefficiencies in memory management, and
  • Other articles explore debugging Quarkus apps, improving testing with @MockBean, and building real-time notifications with Spring Boot and Redis.

Subscribe to the java newsletter for more

Java 24 Stops Pinning Virtual Threads

  • JEP 491 improves Java’s scalability by allowing virtual threads that block in synchronized methods to release their platform threads, making more threads available for other tasks.
  • This prevents virtual threads from being pinned to platform threads, a limitation that restricts scalability.
  • The update is included in Java 24 and JDK 24 EA builds. This video also explores remaining pinning cases, how to detect them, and touches on thread capture and io_uring.

--

--

Javarevisited
Javarevisited

Published in Javarevisited

A humble place to learn Java and Programming better.

Suraj Mishra
Suraj Mishra

Written by Suraj Mishra

Staff Software Engineer @PayPal ( All opinions are my own and not of my employer )

No responses yet