RFR 8183133: [MVT] Arraylength method handle on Q-typed array shouldn't use ArrayAccessor.lengthL(Object)
vladimir.x.ivanov at oracle.com
Mon Jul 3 20:57:54 UTC 2017
In a longer term, it's feasible to use a single implementation which
relies on Unsafe.getInt((Object)array, ARRAY_LENGTH_OFFSET) to fetch
array length from an array of arbitrary type.
On 7/3/17 5:22 PM, Maurizio Cimadamore wrote:
> This patch adds an arrayLength() method handle to ValueType. This is
> necessary, as the standard arraylength generation strategy performed in
> MethodHandles doesn't work on value-typed arrays.
More information about the valhalla-dev