JDK 20: The new features in Java 20
Java 20, or Java Development Kit (JDK) 20, the next planned version of standard Java, is now feature complete. Refinements added since JDK 19 include unification of MemorySegment and MemoryAddress abstractions, an enhanced MemoryLayout hierarchy, and splitting of MemorySession into Arena and Segment...
Saved in:
| Published in: | InfoWorld.com |
|---|---|
| Main Author: | |
| Format: | Trade Publication Article |
| Language: | English |
| Published: |
San Mateo
Foundry
09.12.2022
|
| Subjects: | |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Summary: | Java 20, or Java Development Kit (JDK) 20, the next planned version of standard Java, is now feature complete. Refinements added since JDK 19 include unification of MemorySegment and MemoryAddress abstractions, an enhanced MemoryLayout hierarchy, and splitting of MemorySession into Arena and SegmentScope to promote sharing of segments across maintenance boundaries. * Virtual threads are lightweight threads that reduce the effort of writing, maintaining, and observing high-throughput concurrent applications. Minor changes since the first preview in JDK 19 include a small number of API changes (made permanent in JDK 19) and degradations to ThreadGroup (also made permanent in JDK 19). * Structured concurrency features an API to simplify multithreaded programming and treats multiple tasks running in different threads as a single unit of work. |
|---|