Add calculate element address with element stride - #13975
Conversation
mpirvu
left a comment
There was a problem hiding this comment.
LGTM from JITServer point of view. I don't see flattenedArrayElementSize() is used though.
As an optimization, in the future we could keep the desired size in the cache of J9classes at the server.
|
hzongaro
left a comment
There was a problem hiding this comment.
The general approach looks correct - we just need to check on the possibility that strides of length zero might occur
ad220f8 to
7bfe3e8
Compare
Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
7bfe3e8 to
bb08c80
Compare
Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
bb08c80 to
72bcad7
Compare
hzongaro
left a comment
There was a problem hiding this comment.
I think the changes look good. Thanks!
|
@0xdaryl All comments are addressed. Ready for another review. Thanks! |
|
Jenkins test sanity all jdk17 |
Update
TransformUtilto calculate element address with element stride and addflattenedArrayElementSizetoClassEnv.