Spring Framework 6.1: Infrastructure Revisited
summary
Spring Framework 6.1 lines up with JDK 21 and ships explicit integration for virtual threads and CRaC checkpoint/restore: virtual threads support via Thread.ofVirtualBuilder and new TaskExecutor implementations, container connectors (Tomcat/Jetty) can be configured to use virtual threads, and frameworks must avoid IO inside synchronized blocks. Checkpoint restore hooks use Springβs existing lifecycle stop/start and show ~20x faster readiness in early tests: CRaC checkpoint restore reduces startup time ~20x. Snapshots land now and M1 appears in June: 6.1 snapshots and June M1 available.
AI-written summary Β· about
chapters (15)
- 0:00Welcome
- 1:27Modern Java context
- 7:45Virtual threads intro
- 11:39How virtual threads work
- 19:08Spring support for virtual threads
- 24:42Configuring virtual threads
- 26:48Virtual threads in reactive
- 32:26Scalability benefits
- 34:13Checkpoint restore intro
- 35:56Checkpoint restore in Spring
- 40:10Lifecycle handling
- 44:27Compatibility requirements
- 46:56Transparent adoption
- 47:18Release timeline
- 49:06Q&A
related talks
35mSpring Framework 6
49mSpring Framework 6: Infrastructure Themes
40mWhatβs New in Spring
08mThe nervous system of Spring Framework
01h 09mKeynote
01h 03mBeyond Virtual Threads: Structured Concurrency
01h 40mSpringOne Keynote: Accelerating Innovation with Spring
51mJava 21: The revolution of virtual threads
