New candidate JEP: 401: Primitive Objects (Preview)


Enhance the Java object model with user-declared primitive objects, which are class instances that lack object identity and can be stored and passed directly, without object headers or indirections. This is a preview language and VM feature…

More at https://mail.openjdk.java.net/pipermail/jdk-dev/2021-March/005197.html