Slide 5
Slide 5 text
LW2
These builds have many limitations:
No support for atomic fields containing value types.
No support for @Contended value type fields.
No JVMTI, AOT, CDS, ZGC, or serviceability agent.
Only -Xint and C2 are supported. No C1, no tiered compilation, and no
Graal. The interpreter is not optimized, since our focus is on the JIT
implementation.
Unsafe field and array-accessor APIs are not supported for value types.
Low-level unsafe APIs are UNSAFE and will not be changed to support
value types.
If a value type has been flattened in a container, unsafe does not
know the layout, so getObject could return the first flattened element
rather than the expected reference.
Immutable types can be copied, so updates may not be seen.