[lworld] Integrated: 8331006: [lworld] Support of null markers for nullable flat fields
Frederic Parain
fparain at openjdk.org
Wed May 1 15:37:03 UTC 2024
On Thu, 18 Apr 2024 20:40:22 GMT, Frederic Parain <fparain at openjdk.org> wrote:
> This is the first step in supporting nullable flat fields in JEP 401.
> Those changes give value fields the optional capability to be associated with a null marker that indicates if the value if the field is null or not. Null markers are integrated in the object layout, and in the field metadata (in both compresses and uncompressed forms).
> Field accesses in the x86 and the arch64 interpreter have been extended to check the presence of a null marker when reading a field. If present, the null marker is checked in reads and updated on writes.
>
> The field layout logic is becoming more complex (and the complexity will continue to increase in the future with the addition of atomic flat fields and atomic nullable flat fields). So the changeset includes a test framework able to verify the consistency of fields layout using the output of -XX:+PrintFieldLayout. The format of data printed by PrintFieldLayout has been extended and modified to be easier to parse.
This pull request has now been integrated.
Changeset: eb1df165
Author: Frederic Parain <fparain at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/eb1df16538a32cb9f59db944e24520ea42222d7b
Stats: 2086 lines in 37 files changed: 1891 ins; 13 del; 182 mod
8331006: [lworld] Support of null markers for nullable flat fields
Reviewed-by: dsimms, heidinga
-------------
PR: https://git.openjdk.org/valhalla/pull/1078
More information about the valhalla-dev
mailing list