[lworld+vector] Integrated: JDK 8327435: [lworld+vector] Align existing Vector API support with JEP 401
Jatin Bhateja
jbhateja at openjdk.org
Wed Mar 6 07:28:00 UTC 2024
On Wed, 6 Mar 2024 06:55:07 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
> - Align existing vector API java side implementation with JEP 401[1] and future JEP Null-Restricted Value Class Types[2]
> - Existing primitive value class based vector payloads becomes value classes decorated with LosselyConsistent and ImplicitlyConstructible annotations, this
> relaxes atomicity constraints on instance updates and guarantees initialization by a default value.
> - Payload field in concrete values classes is NullRestricted to promote its flattening.
> - In future we can consider making publicly exposed abstract vector classes as sealed classes to restrict its sub-classing by known concrete vector classes.
>
> All existing Vector API JTREG tests are passing at various AVX level with/wo -XX:+DeoptimizeALot.
>
> Best Regards,
> Jatin
> [1] https://openjdk.org/jeps/401
> [2] https://openjdk.org/jeps/8316779
This pull request has now been integrated.
Changeset: ff8a4159
Author: Jatin Bhateja <jbhateja at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/ff8a41599711ddc7fd79365253a4146f0f16c4a8
Stats: 316 lines in 40 files changed: 234 ins; 22 del; 60 mod
JDK 8327435: [lworld+vector] Align existing Vector API support with JEP 401
-------------
PR: https://git.openjdk.org/valhalla/pull/1034
More information about the valhalla-dev
mailing list