Skip to content

A short demos of Virtual Threads and brief presentation.

Notifications You must be signed in to change notification settings

phyex0/Java-Virtual-Threads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Java-Virtual-Threads

A short demo of Virtual Threads and a brief presentation.

I built 2 different applications. One of them is a basic implementation of a console application. Implementing Runnable interface and calling overridden run method. Executing some instant operations. During that operation, I used both platform and virtual threads to show implementations.

For the next, I built a basic Spring web application with Java 22 and Spring Boot 3.2.0. I showed how to enable virtual threads on the application Yaml. I also created a rest controller that returns thread details.

In my presentation, I tried to explain what are the operating system, process, thread, and JVM (Java Virtual Machine). My goal is to explain virtual threads giving brief pre-requirements.

In short, Java Virtual Threads are here to save the costs of creating threads, having system calls, and memory management.

About

A short demos of Virtual Threads and brief presentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages