oracle / graal

GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
https://www.graalvm.org
Other
20.36k stars 1.64k forks source link

GraalVM JDK19 Builds #4957

Closed fniephaus closed 2 years ago

fniephaus commented 2 years ago

TL;DR

To allow users to take advantage of the latest JDK18 and JDK19 features such as Virtual Threads, the Simple Web Server, Structured Concurrency, and more, we plan to provide JDK19-based GraalVM builds.

Goals

As with previous JDK releases, we plan to ship preview builds of GraalVM JDK19. These builds will include the Graal compiler, Native Image, and all GraalVM languages and tools, except Espresso (Java on Truffle). For context: The official JDK 19 GA is scheduled for 2022/09/20.

Non-Goals

This is only about making JDK19 builds of GraalVM available as a preview. Official support will follow in a future release.

Related PRs

fniephaus commented 2 years ago

The first GraalVM JDK19 dev builds are now available at https://github.com/graalvm/graalvm-ce-dev-builds/releases/latest.

fniephaus commented 2 years ago

JDK19 builds have shipped with the 22.3 release. :tada:

GrapeBaBa commented 1 year ago

@fniephaus I used 22.3.1 jdk19, but virtual thread and structured concurrency not works, it is no exception throwed but the process will hang when executing virtual thread fork.