From fd0dca9babe5e2a239d82d7c5570583d8138b8d3 Mon Sep 17 00:00:00 2001 From: Petra Alice Mikova Date: Fri, 25 Aug 2023 10:06:40 +0200 Subject: [PATCH] Update NEWS file with some missed JEPs --- NEWS | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 06591a2..066d951 100644 --- a/NEWS +++ b/NEWS @@ -6,8 +6,10 @@ CVE-XXXX-YYYY: https://cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY New in release OpenJDK 21.0.0 (2023-09-XX): =========================================== Major changes are listed below. Some changes may have been backported -to earlier releases following their first appearance in OpenJDK 18 -through to 21. +to earlier releases following their first appearance in OpenJDK 21. + +The full list of changes in 21u can be found at: +- * https://builds.shipilev.net/backports-monitor/release-notes-21.txt NEW FEATURES ============ @@ -122,6 +124,19 @@ java-17-openjdk). OpenJDK 18 saw a second round of incubation (JEP second in OpenJDK 20 (JEP 434). It reaches a third preview in OpenJDK 21 (JEP 442). +Virtual Threads +=============== +https://openjdk.org/jeps/425 +https://openjdk.org/jeps/436 + +Introduce virtual threads to the Java Platform. Virtual threads are +lightweight threads that dramatically reduce the effort of writing, +maintaining, and observing high-throughput concurrent applications. + +This is a preview feature (http://openjdk.java.net/jeps/12) introduced +in OpenJDK 19 (JEP 425) and reaching its second preview in OpenJDK 20 +(JEP 436). + Structured Concurrency ====================== https://openjdk.org/jeps/428 @@ -139,6 +154,18 @@ OpenJDK 21 (JEP 453). It was first introduced in incubation (https://openjdk.java.net/jeps/11) in OpenJDK 19 (JEP 428) and had a second round of incubation in OpenJDK 20 (JEP 437). +Scoped Values +============= +https://openjdk.org/jeps/429 + +Introduce scoped values, which enable the sharing of immutable data +within and across threads. They are preferred to thread-local +variables, especially when using large numbers of virtual threads. + +This API is now a preview feature (http://openjdk.java.net/jeps/12) +in OpenJDK 21 (JEP 429). It was first introduced in incubation +(https://openjdk.java.net/jeps/11) in OpenJDK 20 (JEP 429). + Sequenced Collections ===================== https://openjdk.org/jeps/431