accessing unknown value type element in Object[] array & GC barriers
Tobias Hartmann
tobias.hartmann at oracle.com
Fri Aug 31 13:47:41 UTC 2018
Hi Roland,
On 29.08.2018 14:02, Roland Westrelin wrote:
> Other unrelated question: how does the size of the element of a
> flattened array compare to the size of value instance? Do they differ or
> can we use either one interchangeably?
Code currently relies on the fact that the fields are at the same offset both for a value type
instance, a flattened field, or a flattened array element. Since all fields are at the same offset,
I would assume that the size is also the same.
Best regards,
Tobias
More information about the valhalla-dev
mailing list