![]() "We could assign one thread to each request, will make the code easier to read … but you will be wasting resources. "Before Loom, we had two options, neither of which was really good," said Aurelio Garcia-Ribeyro, senior director of project management at Oracle, in a presentation at the Oracle DevLive conference this week. ![]() This was the most efficient approach when application performance was typically limited by the capacity of server CPUs, but as CPUs have become more powerful, applications are limited by I/O, according to the number of operating system threads available. Virtual threads represent a lighter-weight approach to multi-threaded applications than the traditional Java model, which uses one thread of execution per application request. The second of these stages is commonly the last development phase before incorporation as a standard under OpenJDK. Previews are for features set to become part of the standard Java SE language, while incubation refers to separate modules such as APIs. ![]() Project Loom features that reached their second preview and incubation stage, respectively, in Java 20 included virtual threads and structured concurrency. The features are part of a broader set of projects undertaken within the Open Java Development Kit ( OpenJDK) open source community: Project Loom, for performance and efficiency Project Amber language improvements for developer productivity Project Leyden, which seeks to reduce Java startup time, warmup time and footprint Panama, for connecting with non-Java code Valhalla, for better memory throughput and performance and the ZGC low-latency garbage collector.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |