This repo contains source code for my talk "Continuations - The magic behind virtual threads in Java".
The talk discusses continuations and how they are used to implement virtual threads in Java. If you have questions, suggestions to improve or any other feedback, please reach me out at @BalaRawool
Make sure
- you use JDK 22 or higher
- you compile and run these classes with these VM arguments:
--enable-preview --add-exports java.base/jdk.internal.vm=ALL-UNNAMED