8260029: aarch64: fix typo in verify_oop_array #2175
In aarch64 verify_oop_array, we scan over array at 'a' for 'count' oops, verifying each one. The step for the loop should be one for each oop instead of 'size'. We may miss verifying some oops in the array if we set the step to 'size'. Also, we should use 'temp' instead of r16 for the compressed oop case. Register r16 defined but not used in this function.
Tier1-3 tested with linux-aarch64 fastdebug build.
shipilev left a comment
This makes sense to me.
However, for testing, you probably need to run with
@RealFYang This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 15 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
Good suggestion. I performed another round of tier1-3 test with -XX:+VerifyOops. No regression witnessed. Merging.
@RealFYang Since your change was applied there have been 17 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit 4bcffeb.