RFR: remove support for LooselyConsistentValue [v2]

Chen Liang liach at openjdk.org
Sat Jan 3 06:58:32 UTC 2026


On Sat, 3 Jan 2026 03:19:53 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Vicente Romero has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Merge branch 'remove.support.looselyConsistentValueType' of https://github.com/vicente-romero-oracle/valhalla into remove.support.looselyConsistentValueType
>>  - remove support for LooselyConsistentValue
>
> Hi @vicente-romero-oracle , In absence of LooselyConsistentValue annotation what is the mechanism to flatten a value class null-restricted field with sizes greater than 8 bytes. lworld+vector makes heavy use of this annotation to flatten vector payloads into concrete vector classes.
> https://github.com/openjdk/valhalla/blob/lworld%2Bvector/src/java.base/share/classes/jdk/internal/vm/vector/VectorSupport.java#L461

Hi @jatin-bhateja, this is an non-annotation interface from the old model, implemented by big flat values. The internal annotation that now marks big flat value classes is unaffected.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1856#issuecomment-3706841648


More information about the valhalla-dev mailing list