openj9 Valhalla LWVT: Flatten value type arrays Java

The initial implementation should flatten all arrays whose element type is a value type. Later, flattening only arrays of smaller value types should be considered.

Note also that instance fields with the ACC_FLATTENABLE field modifier that are value class arrays can be flattened. See #1387.

Asked Oct 08 '21 04:10
avatar eric98zhang
eric98zhang

1 Answer:

The internalFindArrayClass method in classsupport.c will need to be revisted while flattenable arrays are being implemented. https://github.com/eclipse/openj9/blob/master/runtime/vm/classsupport.c

1
Answered Dec 17 '18 at 21:58
avatar  of acrowthe
acrowthe