Re: RFR: 8318538: Add a way to obtain a strided var handle from a layout [v3]

2023-10-20 Thread Maurizio Cimadamore
> The 21 iteration of the FFM API used to contain a method, namely > `ValueLayout::arrayElementVarHandle`. This var handle factory was useful when > accessing elements in a flat array of variable size. > > In 22, this method has been removed because: > * It was not general enough (it only worked

Re: RFR: 8318538: Add a way to obtain a strided var handle from a layout [v2]

2023-10-19 Thread Per Minborg
On Thu, 19 Oct 2023 20:49:13 GMT, Maurizio Cimadamore wrote: >> The 21 iteration of the FFM API used to contain a method, namely >> `ValueLayout::arrayElementVarHandle`. This var handle factory was useful >> when accessing elements in a flat array of variable size. >> >> In 22, this method ha

Re: RFR: 8318538: Add a way to obtain a strided var handle from a layout [v2]

2023-10-19 Thread Maurizio Cimadamore
> The 21 iteration of the FFM API used to contain a method, namely > `ValueLayout::arrayElementVarHandle`. This var handle factory was useful when > accessing elements in a flat array of variable size. > > In 22, this method has been removed because: > * It was not general enough (it only worked

Re: RFR: 8318538: Add a way to obtain a strided var handle from a layout

2023-10-19 Thread Jorn Vernee
On Thu, 19 Oct 2023 16:52:53 GMT, Maurizio Cimadamore wrote: > The 21 iteration of the FFM API used to contain a method, namely > `ValueLayout::arrayElementVarHandle`. This var handle factory was useful when > accessing elements in a flat array of variable size. > > In 22, this method has bee

RFR: 8318538: Add a way to obtain a strided var handle from a layout

2023-10-19 Thread Maurizio Cimadamore
The 21 iteration of the FFM API used to contain a method, namely `ValueLayout::arrayElementVarHandle`. This var handle factory was useful when accessing elements in a flat array of variable size. In 22, this method has been removed because: * It was not general enough (it only worked with value