[lworld] RFR: 8321039: [lworld] Substitutability code must recognize new annotations [v2]

Roger Riggs rriggs at openjdk.org
Wed Dec 6 18:36:07 UTC 2023


On Wed, 6 Dec 2023 18:17:32 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.
>
> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review comment

LGTM

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

Marked as reviewed by rriggs (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/960#pullrequestreview-1768359899



More information about the valhalla-dev mailing list