[lworld] Integrated: 8321039: [lworld] Substitutability code must recognize new annotations

Mandy Chung mchung at openjdk.org
Wed Dec 6 22:55:51 UTC 2023


On Tue, 5 Dec 2023 19:57:56 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> An initial implementation for substitutability test and partial method handle and var handle support for null-restricted types. JDK-8317767 will provide the full library support for null-restricted types.    
> 
> This patch handles null-restricted field reference declared in a non-flat class.  The default value of that field is lazily set by VM on read access.  `Unsafe::getReference` may return null for null-restricted non-flat field.  
> 
> A new `jdk.internal.value.ValueClass` is created to provide JVM entry points for value classes until public APIs are defined.     `jdk.internal.misc.newNullRestrictedArray` method is moved as well.

This pull request has now been integrated.

Changeset: 8e0a09dd
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/8e0a09ddebd736a8db19cdf99abfb14a0c4daccb
Stats:     474 lines in 30 files changed: 341 ins; 30 del; 103 mod

8321039: [lworld] Substitutability code must recognize new annotations

Reviewed-by: fparain, rriggs

-------------

PR: https://git.openjdk.org/valhalla/pull/960



More information about the valhalla-dev mailing list